Skip to content

Instantly share code, notes, and snippets.

@steveliles
Created December 10, 2010 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steveliles/736660 to your computer and use it in GitHub Desktop.
Save steveliles/736660 to your computer and use it in GitHub Desktop.
approval-1.dot
digraph {
node [shape=circle,fontsize=8,fixedsize=true,width=0.9];
edge [fontsize=8];
rankdir=LR;
"do" [shape="circle", style="filled", color="green"];
"approved" [shape="circle", style="filled", color="red"];
"do" -> "approval";
"approval" -> "approved";
"approval" -> "do";
}
digraph {
node [shape=circle,fontsize=8,fixedsize=true,width=0.9];
edge [fontsize=8];
rankdir=LR;
"do" [shape="circle", style="filled", color="green"];
"approved" [shape="circle", style="filled", color="red"];
"do" -> "approval";
"approval" -> "re-do";
"re-do" -> "approval";
"approval" -> "approved";
}
digraph {
node [shape=circle,fontsize=8,fixedsize=true,width=0.9];
edge [fontsize=8];
rankdir=LR;
"do" [shape="circle", style="filled", color="green"];
"approved" [shape="circle", style="filled", color="red"];
"do" -> "approval";
"approval" -> "approved";
"approval" -> "1st re-do";
"1st re-do" -> "2nd approval";
"2nd approval" -> "approved";
"2nd approval" -> "2+ re-dos";
"2+ re-dos" -> "2+ approvals";
"2+ approvals" -> "2+ re-dos";
"2+ approvals" -> "approved";
}
digraph {
node [shape=circle,fontsize=8,fixedsize=true,width=0.9];
edge [fontsize=8];
rankdir=LR;
"do" [shape="circle", style="filled", color="green"];
"gold" [shape="circle", style="filled", color="red"];
"silver" [shape="circle", style="filled", color="red"];
"bronze" [shape="circle", style="filled", color="red"];
"do" -> "approval";
"approval" -> "gold";
"approval" -> "1st re-do";
"1st re-do" -> "2nd approval";
"2nd approval" -> "silver";
"2nd approval" -> "2+ re-dos";
"2+ re-dos" -> "2+ approvals";
"2+ approvals" -> "2+ re-dos";
"2+ approvals" -> "bronze";
}
digraph {
node [shape=circle,fontsize=8,fixedsize=true,width=0.9];
edge [fontsize=8];
rankdir=LR;
"do" [shape="circle", style="filled", color="green"];
"approved" [shape="circle", style="filled", color="red"];
"do" -> "junior check";
"junior check" -> "senior check";
"junior check" -> "do";
"senior check" -> "approved";
"senior check" -> "do";
}
digraph {
node [shape=circle,fontsize=8,fixedsize=true,width=0.9];
edge [fontsize=8];
rankdir=LR;
"do" [shape="circle", style="filled", color="green"];
"approved" [shape="circle", style="filled", color="red"];
"do" -> "junior check";
"junior check" -> "senior check";
"junior check" -> "lvl1 re-do";
"lvl1 re-do" -> "junior check";
"senior check" -> "approved";
"senior check" -> "lvl2 re-do";
"lvl2 re-do" -> "senior check";
}
digraph {
node [shape=circle,fontsize=8,fixedsize=true,width=0.9];
edge [fontsize=8];
rankdir=LR;
"do" [shape="circle", style="filled", color="green"];
"approved" [shape="circle", style="filled", color="red"];
"check queue" [shape="doublecircle"]
"do" -> "check queue";
"check queue" -> "junior check";
"junior check" -> "senior check";
"junior check" -> "lvl1 re-do";
"lvl1 re-do" -> "check queue";
"senior check" -> "approved";
"senior check" -> "lvl2 re-do";
"lvl2 re-do" -> "senior check";
}
@steveliles
Copy link
Author

Graphviz "dot" markup for some work-flow diagrams to go with my blog post: http://steveliles.blogspot.com/2010/12/patterns-for-approval-cycles-in-work.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment