Sequence diagram maker
MEMBERSWho calls whom, and in what order: participants, messages and answers, drawn on the canvas or written in Mermaid.
Diagram
Diagram
Full stop and comma move between shapes, arrows move the selected one, Enter writes its text, C starts a connection, Delete removes. Capital R, D, O, B, T, N, F or S adds a shape. K folds, P shows what leads to the shape, Command or Control with F searches.
Pick a shape above and press here, or open a template.
Source, live both ways
Source, live both ways
What Mermaid can hold
What Mermaid can hold
What Mermaid cannot hold is kept in the project. Editing the code changes only what the code says.
Found a bug or missing something? Write to us
How it works
Making a sequence diagram
Put the participants in the order they take part, the one who starts on the left. A message is a full line, an answer a dashed one, and time runs down.
The order of messages is the order of the lines in the code, so moving a line up or down moves the message. A message a participant sends to itself is drawn as a small loop.
Loops, alternatives and notes of Mermaid have no shape here. They are listed as lines without an equivalent, and the messages inside them are kept.
Help
FAQ
What do the arrows of a Mermaid sequence diagram mean?
->> is a solid line with an arrowhead, usually a call, and -->> a dotted one, usually a reply; -> and --> have no head. The tool writes these four forms. A cross, -x, or an open arrow, -), is read as an ordinary arrowhead and written back as one.
How is the order of participants changed?
Drag a participant left or right on the canvas. The code lists participants from left to right as they stand, so the participant lines change order with it, and Tidy up sets them in one row in the same order with even gaps.
Why does an actor become a participant?
The tool draws every participant as a box, so actor lines are read like participant lines and written back as participant, without the stick figure Mermaid draws. autonumber and activate lines are also listed as read without an equivalent.