Einfuehrung in Graphviz - Graph Visualization Software Hilfreiche Dokumentationen unter "http://www.graphviz.org". Generierung der Bilder: dot -Tpng test.dot -o test.png dot -Tps test.dot -o test.ps dot -Tpdf test.dot -o test.pdf einfache Beispiel: digraph G { start -> 1; /* A ist Label von Pfeil 1 zu 2 */ 1 -> 2 [label = "A"]; 1 -> 3 [label = "B"]; 2 -> 3 2 -> 1 3 -> 3 [label = "E"]; /* Startknoten nicht sichtbar */ start [label = "", shape = plaintext]; /* Knoten 1 ohne Kreis */ 1 [shape = plaintext]; /* Knoten 2 erhaelt andere Bezeichnung */ 2 [label = "make a\nstring"]; } mehrere Knoten mit selben Bezeichnung: digraph G { /* Anordnung von links nach rechts (RL, TB, BT) */ rankdir=LR; 1 -> 2; 1 -> 3; 1 -> 4; 2 -> 5; 2 -> 6; 3 -> 7; 4 -> 8; 4 -> 9; 1 [label="A"]; 2 [label="B"]; 3 [label="C"]; 4 [label="D"]; 5 [label="A"]; 6 [label="E"]; 7 [label="F"]; 8 [label="F"]; 9 [label="G"]; }