You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to mermaid.js and using the live editor to create a sequence diagram and reading the docs, it took me a long time to work out how to make the name of the actor | particpant span multiple lines.
I eventually worked it out that you must do this:
participant MySuperLongName as My Super<br>Long Name
It would be really nice to update the docs to include something about this. Aliasing is mentioned, but it wasn't clear that this is the only mechanism to introduce new lines into actor names.
The text was updated successfully, but these errors were encountered:
dazinator
changed the title
[Docs] - sequence diagram participant aliasing - line breaks
[Docs Suggestion] - sequence diagram participant aliasing - line breaks
Apr 26, 2023
I am new to mermaid.js and using the live editor to create a sequence diagram and reading the docs, it took me a long time to work out how to make the name of the actor | particpant span multiple lines.
I eventually worked it out that you must do this:
It would be really nice to update the docs to include something about this. Aliasing is mentioned, but it wasn't clear that this is the only mechanism to introduce new lines into actor names.
The text was updated successfully, but these errors were encountered: