Skip to content

participant name as "Long Long Name" #283

@croce1

Description

@croce1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions