Mercurial > hg > orthanc
comparison Resources/ImplementationNotes/JobsEngineStates.dot @ 2558:57f81b988713 jobs
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 03 May 2018 15:24:33 +0200 |
parents | |
children | 9b7680dee75d |
comparison
equal
deleted
inserted
replaced
2557:b4516a6f214b | 2558:57f81b988713 |
---|---|
1 // dot -Tpdf JobsEngineStates.dot -o JobsEngineStates.pdf | |
2 | |
3 digraph G | |
4 { | |
5 rankdir="LR"; | |
6 init [shape=point]; | |
7 failure, success [shape=doublecircle]; | |
8 | |
9 // Internal transitions | |
10 init -> pending; | |
11 pending -> running; | |
12 running -> success; | |
13 running -> failure; | |
14 running -> retry; | |
15 retry -> pending [label="timeout"]; | |
16 | |
17 // External actions | |
18 failure -> pending [label="Resubmit()" fontcolor="red"]; | |
19 paused -> pending [label="Resume()" fontcolor="red"]; | |
20 pending -> paused [label="Pause()" fontcolor="red"]; | |
21 retry -> paused [label="Pause()" fontcolor="red"]; | |
22 running -> paused [label="Pause()" fontcolor="red"]; | |
23 } |