...
PlantUML Macro |
---|
@startuml
'https://plantuml.com/state-diagram
state UNINITIALIZED
state UNINITIALIZED_TO_PASSIVE
state PASSIVE_TO_UNINITIALIZED
state PASSIVE
state UNINITIALIZED_TO_PASSIVE_ERROR
state PASSIVE_TO_UNINITIALIZED_ERROR
state PASSIVE_TO_RUNNING
state RUNNING_TO_PASSIVE
state RUNNING
state RUN_ERROR
[*] --> UNINITIALIZED
UNINITIALIZED --> UNINITIALIZED_TO_PASSIVE
PASSIVE_TO_UNINITIALIZED --> UNINITIALIZED
PASSIVE_TO_UNINITIALIZED --> PASSIVE_TO_UNINITIALIZED_ERROR
PASSIVE_TO_UNINITIALIZED_ERROR --> PASSIVE_TO_UNINITIALIZED
UNINITIALIZED_TO_PASSIVE --> PASSIVE
UNINITIALIZED_TO_PASSIVE --> UNINITIALIZED_TO_PASSIVE_ERROR
UNINITIALIZED_TO_PASSIVE_ERROR --> UNINITIALIZED_TO_PASSIVE
UNINITIALIZED_TO_PASSIVE_ERROR --> PASSIVE_TO_UNINITIALIZED
PASSIVE --> PASSIVE_TO_RUNNING
PASSIVE --> PASSIVE_TO_UNINITIALIZED
PASSIVE_TO_RUNNING --> RUNNING
RUNNING --> RUNNING_TO_PASSIVE
RUNNING_TO_PASSIVE --> PASSIVE
RUNNING --> RUN_ERROR
RUN_ERROR --> RUNNING
RUN_ERROR --> RUNNING_TO_PASSIVE
@enduml |
Participant States
The following states are the only states in participants:
PlantUML Macro |
---|
|
@startuml
state UNINITIALIZED
state PASSIVE
state RUNNING
[*] --> UNINITIALIZED
UNINITIALIZED --> PASSIVE
PASSIVE --> RUNNING
RUNNING --> PASSIVE
PASSIVE --> UNINITIALIZED
@enduml |