Skip to content
diagrams.mbt
DocsArticlesGalleryAPIGitHub

Gallery / state

Mermaid lifecycle and retry

Family: state. Status: Implemented.

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

Mermaid lifecycle and retry preview
Mermaid lifecycle and retry preview (dark)

Source

state-mermaid-lifecycle.mmd

text/plain

stateDiagram-v2
[*] --> Idle
Idle --> Running : start
Running --> Running : retry
Running --> [*]

Download source: state-mermaid-lifecycle.mmd

Download SVG Download dark SVG Open offline player

diagrams.mbt · Diagramming for MoonBit.