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

Entry and exit points

A small circle on a state’s border for an entry point, and a crossed circle for an exit point, each with its name beside it. Outside transitions attach on the outer side, inside ones on the inner side.

diagram state "Entry and exit points"
[*] --> Idle
Idle --> again : retry
state Login {
  entrypoint again
  exitpoint aborted
  again --> Prompt
  Prompt --> aborted : [locked out]
}
aborted --> Idle
Entry and exit points Login Prompt Idle again aborted retry [locked out]

Syntax

entrypoint <name>        inside a state
exitpoint <name>         inside a state

Specification

UML 2.5.1, 14.2.4.6 (p. 328).

Used in

State diagrams: entry and exit points.