Participants
Participants are auto-created from messages, or declare explicitly:
participant Aliceparticipant Bob as B
Messages
A -> B: Solid line, solid arrowA --> B: Dashed line, solid arrowA ->> B: Solid line, open arrowA -->> B: Dashed line, open arrow
Self Messages
A -> A: Think about it
Notes
note over A: Some notenote over A,B: Spans bothnote left of A: Left sidenote right of B: Right side
Grouping
alt Conditionelse Otherendopt Optionalendloop 3 timesendpar Paralleland Alsoend
Activation
activate Adeactivate AOr use + / - suffixes:
A ->>+ B: RequestB -->>- A: Response
Dividers
== Section Title ==
Comments
# This is a comment