Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Elements of activity diagrams

ElementSyntax
Actionaction "Name"
Initial and final nodesstart, stop, end
Decision and mergeif, switch, while, repeat
Fork and joinfork { ... } and { ... }
Object nodeobject "Name"
Signalssend "Name", accept "Name"
Partitionlane "Name" { ... }
Notenote: text
diagram activity "All the activity elements"
start
action "Receive"
if "valid" {
  action "Process"
} else {
  action "Reject"
}
stop
All the activity elements Receive Process Reject [valid] [else]

See Activity diagrams for how to write one.