Created
September 15, 2014 19:23
-
-
Save ivanalejandro0/4a8c38bee4c58b45f0b9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// see: | |
// http://stamm-wilbrandt.de/GraphvizFiddle/ | |
// http://graphviz-dev.appspot.com/ | |
digraph g{ | |
OFF [label="OFF", style="filled", shape=doublecircle]; | |
ON [label="ON", fillcolor="palegreen", style="filled" shape=doublecircle]; | |
error [label="error", fillcolor="red", style="filled" shape=doublecircle]; | |
OFF -> fw_start [label="start"]; | |
subgraph cluster_start { | |
label="<start>"; | |
fw_start -> eip_start [label="ok"]; | |
eip_start-> eip_start [label="retry", color="yellow"]; | |
} | |
fw_start -> error [label="error", color="red"]; | |
eip_start-> ON [label="ok", color="green"]; | |
eip_start-> error [label="error", color="red"]; | |
// error -> OFF [label="reset"]; | |
ON -> eip_stop [label="stop"]; | |
subgraph cluster_stop { | |
label="<stop>"; | |
eip_stop -> fw_stop [label="ok"]; | |
eip_stop -> eip_stop [label="retry", color="yellow"]; | |
} | |
eip_stop -> error [label="error", color="red"]; | |
fw_stop -> OFF [label="ok"]; | |
fw_stop -> error [label="error", color="red"]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment