-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
layout=dagre: container labels are too close to the top edge of "multiple" style containers #1339
Comments
Thanks for the fast response. I appreciate the acknowledgement and work. Enjoying using this tool so far! |
Thanks for the work here. I I used the I ran Is there anything else I can do here to verify that I am indeed running the latest, "fixed" version. Or something I am not doing but should be as relates to generating my diagram? Thanks in advance for your time and help. |
@emteelb if you copy paste your code into playground, does it show correctly? e.g. https://play.d2lang.com/?script=qlDQtVOorOSqrNQDW6wHCxYrhZKi0lQuQAAAAP__& |
It does indeed. Thanks for the hint. So... something going on with my local environment then? I'm on Arch Linux, just updated today. If you have another hint for me, would take it, otherwise, I can use the Playground to get by in the meantime. |
hmm if something isn't working with the install script you can try |
@emteelb it actually shouldn't say 0.4.2 for the build-by-source d2. it should say the install script doesn't build from source, it fetches latest. it's a todo to pass in an |
This worked perfectly and I see the text label looking nicely offset from the "multiple" object now after rendering my .d2 file with the Go-built binary. Thanks to you both for the help and clarifications. |
Compare the "Node" container label in this Dagre rendered diagram with the same label in this ELK rendered diagram.
I would just use the ELK layout engine for rendering my diagram but the above example is only a part of my diagram. My actual diagram has more connections and containers and I prefer the Dagre-rendered layout for that.
Is there a way to influence the padding of container labels that I might have missed in the documentation?
Thanks in advance for your time and help.
The text was updated successfully, but these errors were encountered: