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

scale sequence diagram arrows to account for font-size #1846

Closed
nacho-villanueva opened this issue Feb 25, 2024 · 0 comments · Fixed by #2050
Closed

scale sequence diagram arrows to account for font-size #1846

nacho-villanueva opened this issue Feb 25, 2024 · 0 comments · Fixed by #2050

Comments

@nacho-villanueva
Copy link

nacho-villanueva commented Feb 25, 2024

In a sequence diagram, a self-message that contains a long (multi line) message, the arrow becomes occluded.

Not sure if there is a way to solve this currently.
Ideally the arrow should become slightly larger in order to display that message and the arrow appropriately.

Here is an example:

shape: sequence_diagram
(** -> **)[*].style.font-size: 24
(** -> **)[*].style.font-color: black

Front-End.t1 -> Libreria.t1: generatePresentationPayload()
Libreria.t1 -> Libreria.t1: Generar y Firmar\nPrueba de Titularidad
Libreria.t1 -> Front-End.t1: Presentacion Firmada

image
image

@cyborg-ts cyborg-ts added this to D2 Feb 25, 2024
@alixander alixander changed the title Long self-message hides arrow scale sequence diagram arrows to account for font-size Feb 25, 2024
@github-project-automation github-project-automation bot moved this to Done in D2 Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant