Mercurial > hg > orthanc
view Resources/ImplementationNotes/JobsEngineStates.dot @ 2574:84cbc5abf3cc jobs
merge
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 May 2018 17:56:26 +0200 |
parents | 9b7680dee75d |
children | 8da2cffc2378 |
line wrap: on
line source
// dot -Tpdf JobsEngineStates.dot -o JobsEngineStates.pdf digraph G { rankdir="LR"; init [shape=point]; failure, success [shape=doublecircle]; // Internal transitions init -> pending; pending -> running; running -> success; running -> failure; running -> retry; retry -> pending [label="timeout"]; // External actions failure -> pending [label="Resubmit()" fontcolor="red"]; paused -> pending [label="Resume()" fontcolor="red"]; pending -> paused [label="Pause()" fontcolor="red"]; retry -> paused [label="Pause()" fontcolor="red"]; running -> paused [label="Pause()" fontcolor="red"]; }