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

participant name as "Long Long Name" #283

Closed
croce1 opened this issue Jan 23, 2016 · 2 comments
Closed

participant name as "Long Long Name" #283

croce1 opened this issue Jan 23, 2016 · 2 comments

Comments

@croce1
Copy link

croce1 commented Jan 23, 2016

Hi,
mermaid is very great for me! I love it.

So I want to use alias at participant command in sequenceDiagram, like this:

sequenceDiagram
    participant john as "John Salah Conor"
    participant ben as "Ben Harison Smith"
    john->ben: Message1
    ben->john: Message2

And the Diagram is like this:

+------------------+   +-------------------+
| John Salah Conor |   | Ben Harison Smith |
+------------------+   +-------------------+
         |                       |
         |       Message1        |
         |---------------------->|
         |                       |
         |       Message2        |
         |<----------------------|

Would you please add this function?

@knsv
Copy link
Collaborator

knsv commented Jan 26, 2016

Good idea, lets keep this one in the list!

@croce1
Copy link
Author

croce1 commented Jan 26, 2016

Thank you!

@croce1 croce1 closed this as completed Mar 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants