Skip to content

Instantly share code, notes, and snippets.

@kesor
Last active December 2, 2016 16:43
Show Gist options
  • Save kesor/2b858d218a25d22f27eefb780c6b1a17 to your computer and use it in GitHub Desktop.
Save kesor/2b858d218a25d22f27eefb780c6b1a17 to your computer and use it in GitHub Desktop.
// example of a dependency graph described using Graphviz dot notation
// see the rendering of graphiviz here - http://imgur.com/a/kiUR2
digraph G {
sales_missing_info
None[label="",shape=point]
open[label="Open"]
sales_missing_info[label="Missing Info.",color=darkgreen,fontcolor=darkgreen]
missing_info[label="Missing Info.",color=darkgreen,fontcolor=darkgreen]
dev_queue[label="Waiting for Dev"]
in_dev[label="In Development"]
qa_queue[label="Waiting for QA"]
in_qa[label="In QA"]
verified[label="Verified"]
in_uat[label="In UAT"]
live_queue[label="Ready to Go Live"]
production[label="In Production"]
closed[label="Closed"]
None -> open [weight=100,label=" Create Issue"]
open -> dev_queue [weight=100,label=" Queue for Dev"]
dev_queue -> in_dev [weight=100,label=" Start Dev"]
in_dev -> qa_queue [weight=100,label=" Queue for QA"]
qa_queue -> in_qa [weight=100,label=" Start QA"]
in_qa -> verified [weight=100,label=" Verify"]
verified -> production [weight=100, label=" Deploy to Prod."]
production -> in_uat [weight=100,label=" Start UAT"]
in_uat -> live_queue [weight=100,label=" Ready to Go Live"]
live_queue -> closed [weight=100,label=" Close"]
close2[label="Close",shape=none,fontcolor=gray]
closed2[label="Closed",color=gray,fontcolor=gray]
open -> close2[color=gray,arrowhead=none,weight=3]
dev_queue -> close2[color=gray,arrowhead=none,weight=3]
close2 -> closed2[color=gray]
{ rank=same; close2; closed2; open; }
close[label="Close",shape=none,fontcolor=gray]
in_dev -> close[color=gray,arrowhead=none,weight=3]
// missing_info -> close[color=gray,arrowhead=none,weight=3]
qa_queue -> close[color=gray,arrowhead=none,weight=3]
verified -> close[color=gray,arrowhead=none,weight=3]
production -> close[color=gray,arrowhead=none,weight=3]
in_uat -> close[color=gray,arrowhead=none,weight=3]
live_queue -> close[color=gray,arrowhead=none,weight=3]
close -> closed[color=gray]
{ rank=same; close; in_uat; }
request_info[label="Request Clarification",shape=none,fontcolor=darkgreen,color=darkgreen]
dev_queue -> request_info[color=darkgreen,arrowhead=none,weight=2]
in_dev -> request_info[color=darkgreen,arrowhead=none,weight=2]
qa_queue -> request_info[color=darkgreen,arrowhead=none,weight=2]
in_qa -> request_info[color=darkgreen,arrowhead=none,weight=2]
request_info -> missing_info[color=darkgreen]
// missing_info -> open[weight=2,label=" Reopen"]
{ rank=same; in_dev; request_info; missing_info }
open -> sales_missing_info [label=" Request Clarification",fontcolor=darkgreen,color=darkgreen]
// sales_missing_info -> open [label=" Reopen"]
// { rank=same; open; sales_missing_info; }
back_to_dev[label="Back to Dev.",shape=none]
{ rank=same; back_to_dev; in_dev }
back_to_dev -> in_dev
in_qa -> back_to_dev [arrowhead=none]
qa_queue -> back_to_dev [arrowhead=none]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment