▸ SEQ DIAGRAM

Zewp.com

Participants

Participants are auto-created from messages, or declare explicitly:

participant Alice
participant Bob as B

Messages

A -> B: Solid line, solid arrow
A --> B: Dashed line, solid arrow
A ->> B: Solid line, open arrow
A -->> B: Dashed line, open arrow

Self Messages

A -> A: Think about it

Notes

note over A: Some note
note over A,B: Spans both
note left of A: Left side
note right of B: Right side

Grouping

alt Condition
else Other
end

opt Optional
end

loop 3 times
end

par Parallel
and Also
end

Activation

activate A
deactivate A

Or use + / - suffixes:

A ->>+ B: Request
B -->>- A: Response

Dividers

== Section Title ==

Comments

# This is a comment
Ready