Focusing on the Flow with Dot
Evelyn J. Boettcher
Principal
digraph tree {
//define overall style (optional)
graph[label="Outline", fontname="Trebuchet MS",fontsize=18,ranksep=.4]
node[fontsize=14,shape=record,fontname="Trebuchet MS"]
edge[fontsize=14,penwidth=5, fontname="Trebuchet MS", color=grey50]
//define nodes (optional)
what[label="What",style="rounded,filled",shape=box,
fillcolor=steelblue,color=steelblue3]
why[label ="Why"style=filled, shape="doubleoctagon",
color="goldenrod",fillcolor=plum]
how[label ="Compilers",color=palegreen1,
fillcolor=palegreen3,style=filled]
ex1[label ="Examples",shape="invtrapezium"style=filled,
color=burlywood3,fillcolor="burlywood1"]
//Your FLOW
what->why->how->ex1
}
Outline
Dot
(cite: www.graphviz.org/pdf/dotguide.pdf)
Why
Plays well with Others
Dot has Bindings for many programming languages
—including Java, Perl, and Python
Generate Graphs with:
Drive your software with your flow
or make your flow after the fact.
Drive it with “DOT”!
Why?
digraph G {
node[style=filled]
rankdir=LR
F[label="Egg", shape=egg,
orientation=100, color=goldenrod1,
fillcolor=bisque]
G[label="Fried \n Chicken",
shape=invtrapezium, color=plum,
fillcolor=red, style="diagonals,filled",
penwidth=3]
edge[color="steelblue:goldenrod4",
dir=both, penwidth=3,
label="What Came First",
fontcolor=cyan4]
F->G
}
(cavet: Seen other people do this but have not upped my game yet.)
Examples