Send messages to yourself
@startumlAlice -> Alice : This is a signal to self.\nIt also demonstrates \nmultiline text.@enduml |
|
Participants
@ Startumltitle a variety of participants 'Role foo1' boundary foo2' control foo3' entity footy foo4 'database foo5' General participants: Participant fooipant foo6 foo1-> foo2: To boundaryfoo1-> foo3: to controlfoo1-> foo4: To entityfoo1-> foo5: To databasefoo1-> foo6: to particle ant @ enduml |
|
Various arrows
@ Startumltitle various arrows /'? Add a final X to denote a lost message? Use \ or/instead of <or> to have only the bottom or top part of the arrow? Repeat the arrow head (for example, >>or //) head to have a thin drawing? Use -- instead of-to have a dotted arrow? Add a final "o" at arrow head? Use bidirectional arrow'/actor Bob as bactor Alice as AB-> X AB-> AB-\ AB \-AB // -- AB-> o AB O \ \ -- AB <-> AB <-> O A @ enduml |
|
Small integrations
@ Startuml 'title and title Synthesis: title, alias, sequence, color, and column' alias, color Matching actor Bob as B # redactor Alice as a # green' message sequence number autonumber 2 'arrow color B-[# Red]> A: hellob -- [# Black]>: hello2b <[# 0000ff]-A: OK 'legend indicating legend right. This is a legend indicating endlegend @ enduml |
|
Plantuml -- 4. instance demonstration 1