Trying to create Internet container above in the diagram to AWS and GCP blocks underneath it #1416
HariSekhon
started this conversation in
General
Replies: 1 comment
-
alright i have some ideas for hacking this in dagre's layout engine that don't involve any user-side dsl-changing hacks, hopefully will get time to try this week. in the meantime i'm curious if you're able to get the results you're hoping for from mermaid or python Diagrams or any other. I suspect not but don't know fo rsure. No worries if it's too time consuming to replicate. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm struggling with the layout of the following diagram which I'm trying to get the Internet section to be cleanly above the AWS and GCP sections in a triangle type shape, but so far all my intermediate/blank objects tricks have failed:
As you can see the current diagram is a mess, here is the source code:
https://github.com/HariSekhon/Diagrams-as-Code/blob/master/custom/kubernetes_integrations.d2
I have tried the usual sort of intermediate / blank tricks, such as :
but this doesn't help as the intermediate object just gets put in between the AWS and GCP blocks:
I think this comes down to the lack of placement control, which is my single biggest with for D2.
I can't use
near
placement control due to this issue of not being able to connect objects: #1285Relates to this issue too: #1300
Anybody got any ideas of how to work around this or any tweaks for now?
Beta Was this translation helpful? Give feedback.
All reactions