-
-
Save sevein/dd36c2af23fd0d9e2e2438d8eb091314 to your computer and use it in GitHub Desktop.
Enduro - Collecion State Machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Use http://viz-js.com/ for rendering. | |
*/ | |
digraph collection { | |
graph [bgcolor="#5e2750" pad=1 nodesep=0.8 rankdir=TB]; | |
node [width=1 penwidth=10 fontname=helvetica shape=circle style=filled fontcolor=black fillcolor="#5E2750" fontcolor=white] | |
edge [color="#f7C0E9" fontcolor="#f7C0E9"]; | |
S_NEW [label="NEW" shape=egg width=1 height=1 penwidth=0 fillcolor=white fontcolor=black]; | |
S_QUEUED [label="QUEUED" color="#924d8b"]; | |
S_IN_PROGRESS [label="IN PROGRESS" color="#924d8b"]; | |
S_PENDING [label="PENDING" color="#f4aa90"]; | |
S_ERROR [label="ERROR" color="#e95420"]; | |
S_ABANDONED [label="ABANDONED" color="#beb8b2"]; | |
S_DONE [label="DONE" color="#924d8b"]; | |
S_NEW -> S_QUEUED [label="Started" color="#e95420" fontcolor="#e95420"]; | |
S_QUEUED -> S_IN_PROGRESS [label="Assigned"]; | |
S_IN_PROGRESS -> S_PENDING [label="DecisionRequested"]; | |
S_IN_PROGRESS -> S_ERROR [label="Failed"]; | |
S_IN_PROGRESS -> S_ABANDONED [label="Canceled" color="#e95420" fontcolor="#e95420"]; | |
S_IN_PROGRESS -> S_DONE [label="Completed"]; | |
S_PENDING -> S_ERROR [label="Failed"]; | |
S_PENDING -> S_ABANDONED [label="DecisionAbandon" color="#e95420" fontcolor="#e95420"]; | |
S_PENDING -> S_IN_PROGRESS [label="DecisionContinue" color="#e95420" fontcolor="#e95420"]; | |
S_ERROR -> S_IN_PROGRESS [label="Retried" color="#e95420" fontcolor="#e95420"]; | |
S_ERROR -> S_ABANDONED [label="Abandoned" color="#e95420" fontcolor="#e95420"]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment