mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
32 lines
916 B
Plaintext
32 lines
916 B
Plaintext
graph TB
|
|
Start[Start]
|
|
Done[Done]
|
|
Error[Error]
|
|
subgraph Unwind
|
|
StartUnwind(Unwind in reverse order of execution)
|
|
UnwindStage(Unwind stage)
|
|
NextStageToUnwind(Next stage)
|
|
end
|
|
subgraph Single loop
|
|
RunLoop(Run loop)
|
|
NextStage(Next stage)
|
|
LoopDone(Loop done)
|
|
subgraph Stage Execution
|
|
Execute(Execute stage)
|
|
end
|
|
end
|
|
Start --> RunLoop --> NextStage
|
|
NextStage --> |No stages left| LoopDone
|
|
NextStage --> |Next stage| Execute
|
|
Execute --> |Not done| Execute
|
|
Execute --> |Unwind requested| StartUnwind
|
|
Execute --> |Done| NextStage
|
|
Execute --> |Error| Error
|
|
StartUnwind --> NextStageToUnwind
|
|
NextStageToUnwind --> |Next stage| UnwindStage
|
|
NextStageToUnwind --> |No stages left| RunLoop
|
|
UnwindStage --> |Error| Error
|
|
UnwindStage --> |Unwound| NextStageToUnwind
|
|
LoopDone --> |Target block reached| Done
|
|
LoopDone --> |Target block not reached| RunLoop
|