Skip to content
diagrams.mbt
DocsArticlesGalleryAPIGitHub

Gallery / state

PlantUML concurrent regions and history

Family: state. Status: Implemented.

PlantUML 1.2026.9 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

PlantUML concurrent regions and history preview
PlantUML concurrent regions and history preview (dark)

Source

state-plantuml-history.puml

text/plain

@startuml
state Service {
  state Worker
  [*] --> Worker
  Worker --> Worker : work
  --
  state Monitor
  [*] --> Monitor
  Monitor --> Monitor : check
}
state Paused
[*] --> Service
Service --> Paused : pause
Paused --> Service[H] : resume
Paused --> Service[H*] : deep resume
@enduml

Download source: state-plantuml-history.puml

Download SVG Download dark SVG Open offline player

diagrams.mbt · Diagramming for MoonBit.