Created
December 13, 2010 18:01
-
-
Save steveliles/739323 to your computer and use it in GitHub Desktop.
Work-Queue work-flow pattern diagrams in graphviz dot syntax
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
digraph { | |
node [shape=circle,fontsize=8,fixedsize=true,width=0.9]; | |
edge [fontsize=8]; | |
rankdir=LR; | |
"queue" [shape="doublecircle" color="orange"]; | |
"s1" -> "queue"; | |
"queue" -> "s2"; | |
} |
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
digraph { | |
node [shape=circle,fontsize=8,fixedsize=true,width=0.9]; | |
edge [fontsize=8]; | |
rankdir=LR; | |
"low-priority" [shape="doublecircle" color="orange"]; | |
"s1" -> "low-priority"; | |
"s2" -> "low-priority"; | |
"s3" -> "low-priority"; | |
"low-priority" -> "s4"; | |
"low-priority" -> "s5"; | |
} |
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
digraph { | |
node [shape=circle,fontsize=8,fixedsize=true,width=0.9]; | |
edge [fontsize=8]; | |
rankdir=LR; | |
"low-priority" [shape="doublecircle" color="orange"]; | |
"high-priority" [shape="doublecircle" color="orange"]; | |
"s1" -> "low-priority"; | |
"s2" -> "low-priority"; | |
"s3" -> "low-priority"; | |
"low-priority" -> "s4"; | |
"low-priority" -> "s5"; | |
"low-priority" -> "high-priority" [label="wait-time exceeded"]; | |
"high-priority" -> "s4"; | |
"high-priority" -> "s5"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment