Created
September 18, 2015 08:20
-
-
Save a-h/6845d02f6e6698bd2677 to your computer and use it in GitHub Desktop.
GraphViz Example - Formatted
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
digraph G { | |
/* Set graph background attributes */ | |
style=filled; | |
bgcolor="#548881"; | |
rankdir=LR; /* Comment out if you want it to be oriented top to bottom */ | |
/* Set default shape to be a box rather than an ellipse */ | |
node [shape=box, fontsize=11, fontname="Calibri Bold", color="#2E5F58", style=filled, fillcolor="#2E5F58", fontcolor="#ffffff"]; | |
/* Style the arrows, because I think that the arrow head is too big by default */ | |
edge [color="#9DC8C2", arrowsize=0.5]; | |
/* Tasks */ | |
"Find Driving\n Instructor" -> "Book Lessons" -> "Learn To Drive" -> "Book Practical\n Test" -> "Pass Practical\n Test"; | |
"Study for Theory\n Test" -> "Book Theory\n Test" -> "Pass Theory\n Test" -> "Book Practical\n Test"; | |
"Pass Practical\n Test" -> "Buy Car" -> "Buy\n Insurance" -> "Pay Tax" -> "Drive Somewhere\n Nice"; | |
"Decide Which\n Car To Buy" -> "Buy Car" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment