PlantUML — State Machine
Composite states and guarded transitions.
Rendering…
Make it your own.
@startuml
[*] --> Idle
Idle --> Loading : fetch()
state Loading {
[*] --> Connecting
Connecting --> Streaming : open
Streaming --> [*] : eof
}
Loading --> Success : 2xx
Loading --> Error : 4xx/5xx
Error --> Idle : retry
Success --> Idle : reset
@enduml