Placement control #1329
HariSekhon
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
In order to compact the following diagram I'd like to make the server appear underneath router3, but am struggling to find a way to trick dagre engine into doing so.
I've tried tricks in the code such as changing the ordering of declarations and direction of arrows but so far no luck...
Any ideas?
The problem with the diagram being so wide and short is that it makes the icons smaller and harder to read, whereas getting the diagram to square up a bit will help in terms of layout and readability.
Ideally I would fold router 5 upwards and router 6 and server 1 down and back into the middle.
https://github.com/HariSekhon/Diagrams-as-Code/blob/c2d89f4651da8c6c88761575eb47d8f729bc0c71/network_layer3_remote.d2
Beta Was this translation helpful? Give feedback.
All reactions