Skip to content
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

Sequence diagram: Multiple notes/connections on the same row? #1888

Open
wq2012 opened this issue Apr 4, 2024 · 0 comments
Open

Sequence diagram: Multiple notes/connections on the same row? #1888

wq2012 opened this issue Apr 4, 2024 · 0 comments

Comments

@wq2012
Copy link

wq2012 commented Apr 4, 2024

Is there a way to put multiple notes/connections on the same row to make the sequence diagram more compact?

Example:
img

Would really love this feature!

The possible syntax could be something like:

a."note 1"
& b."note 2"

And this will put "note 1" and "note 2" in the same row.

Just that in d2layouts/d2sequence/sequence_diagram.go::placeNotes(), replace y := sd.maxActorHeight + sd.yStep by y := sd.maxActorHeight when the & symbol is detected (or something similar).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant