UML Sequence diagram Documentation

Learn to build sequence diagrams using a simple syntax. All the examples are interactive, play around with the online editor to get started!

Participants

Participants are added in the order they appear. You can force a particular order by adding participant at the top.

You can alias participants using as to shorten your code. Make sure to use quotes around the participant name.

Messages

You can customize arrows style for each message with -> and -->.

You can create asynchronous messages using ->>.

You can also add latency to your messages using (<int>).

Multi-lines and special characters

You can add line breaks by using \n or by adding quotes around your strings.

To use special characters in your strings you must use quotes. Special characters include : , -

Boxes

You can add boxes over one or multiple participants using box.

Activation

You can activate participants using activate and deactivate.