Mermaid lifecycle and retry
Mermaid 12.2.0 state source with typed hierarchy and labelled transitions.
Scope: Structural illustration and supplied scenarios only. Guards and actions remain text. History is descriptive and is never restored by execution.
Preview
Source
state-mermaid-lifecycle.mmd
text/plain
stateDiagram-v2
[*] --> Idle
Idle --> Running : start
Running --> Running : retry
Running --> [*]