Illustrations of Graphviz: A Simple Directed Graph
Illustrations of Graphviz: A Simple Directed Graph
Graphviz is available from www.graphviz.org. It converts simple text les describing the nodes and edges of a graph into an optimized graphical image in one of a number of formats (eps, pdf, . . .). Illustrations of the text le and the resulting image follow.
Page 2 of 3
rlh -- rhh [style=dashed]; // 2s H move node [shape=box]; mrlh [label="-2,2"]; rlh -- mrlh [dir = forward, headlabel="meet"]; prlh [label="1,-1"]; rlh -- prlh [dir = forward, headlabel="pass"]; prhh [label="1,-1"]; rhh -- prhh [dir = forward, headlabel="pass"]; mrhh [label="0,0"]; rhh -- mrhh [dir = forward, headlabel="meet"]; // 2s L move prhl [label="1,-1"]; rhl -- prhl [dir = forward, headlabel="pass"]; mrhl [label="2,-2"]; rhl -- mrhl [dir = forward, headlabel="meet"]; mrll [label="0,0"]; rll -- mrll [dir = forward, headlabel="meet"]; prll [label="1,-1"]; rll -- prll [dir = forward, headlabel="pass"]; }
0,0 see see raise 1 1 LL LH raise 2 pass meet -2,2 1,-1 0,0
1,-1
chance pass meet 2 raise HL 1 1 see 0,0 see 0,0 HH raise 2 meet pass 1,-1 0,0
2,-2
Page 3 of 3