Stackinge subgraphs on top of each other #4831
Unanswered
NeoCortex97
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am using mermaid to render a network documentation. I have to create a diagram showing network infrastructure by floor and wouldlike to use subgraphs stacked on top of each other, but the elk algorythm only stacks them in a spiral.
How can i influence the placement of subgraphs?
Thsi is the Result that I got and I will post the code below:
flowchart BT subgraph KG direction LR Server0 Switch3 end subgraph EG direction TB Switch2 PC4 PC5 PC6 end subgraph OG1 direction TB Switch5 PC10 PC11 PC12 end subgraph OG2 direction TB Switch4 PC7 PC8 PC9 end subgraph OG3 direction TB Switch1 PC1 PC2 PC3 PC13 end Switch3 --- Server0 Switch2 ---- Switch3 Switch2 ---- Switch3 Switch2 ---- Switch3 Switch2 ---- Switch3 Switch2 --- PC4 Switch2 --- PC5 Switch2 --- PC6 Switch2 ---- Switch5 Switch2 ---- Switch5 Switch5 --- PC10 Switch5 --- PC11 Switch5 --- PC12 Switch5 ---- Switch4 Switch4 --- PC7 Switch4 --- PC8 Switch4 --- PC9 Switch4 ---- Switch1 Switch1 --- PC1 Switch1 --- PC2 Switch1 --- PC3 Switch1 --- PC13 Switch1 ---- Switch2 KG --- EG --- OG1 --- OG2 --- OG3This is my code:
All reactions