diagrams
diagrams copied to clipboard
Connecting two cluster
I have a two cluster Cluster 1: A,B,C and Cluster 2: D,E,F . Now I want to connect in this order : A to D , B to F , C to E When I connect Cluster 1 to Cluster 2, Cluster 2 nodes/elements order changes. How to fix this issue
@ncamit
See if this helps https://github.com/mingrammer/diagrams/issues/17#issuecomment-723361274
I would also help if you posted your code.
@ncamit Is the following similar to the problem you are having? https://github.com/mingrammer/diagrams/issues/552#issue-932956917
@clayms
Just read your explanations on the other thread. Thanks for writing that! I saw that there were two outstanding PRs (#438, #439) for rendering edges between clusters. But your solution seems the most elegant.
I was wondering though, how can you include an icon with this solution? That seems to be what stood out with the other two solutions.
You can't currently. Not until the other PRs you referenced get pulled in.
You can do this, https://github.com/mingrammer/diagrams/issues/279#issuecomment-722004811 , but with the neato
layout engine, you can't do this: https://github.com/mingrammer/diagrams/issues/17#issuecomment-723361274, which only works with the dot
layout engine.
Thank you for writing 😊 That's unfortunate... I read both threads and they seem to have deadlocked. Would be nice to both features with the same layout engine and not much change.