IntroGraphviz

IntroGraphviz - Illustrations of graphviz L A T E X file:...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Illustrations of graphviz L A T E X file: graphviz Daniel A. Graham, June 10, 2005 Graphviz is available from www.graphviz.org . It converts simple text files 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 file and the resulting image follow. A simple directed graph digraph G { A -> B A -> C B -> D B -> E C -> F C -> G } A B C D E F G A more complex directed graph digraph G { edge [labeldistance=2.5] N [label="1"] C [label="2"] CE [label="1"] node [shape=box] D [label="2,0"] CF [label="3,1"] CEG [label="1,2"] CEH [label="0,0"] N-> C [headlabel="C"] N-> D [headlabel="D"] C-> CE [headlabel="E"] C-> CF [headlabel="F"] CE -> CEG [headlabel="G"] CE -> CEH [headlabel="H"] } Page 1 of 3 1 2 C 2,0 D 1 E 3,1 F 1,2 G 0,0 H An even more complex undirected graph graph G { edge [labeldistance=2.5]; chance [color = red]; node [height=.4]; node [shape=circle, width=.4]; HH [label = "1"];...
View Full Document

Page1 / 3

IntroGraphviz - Illustrations of graphviz L A T E X file:...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online