Debian Codegraph @

docs/docgraphs/balls.dot

raw
1 // This graph uses special PGF/TikZ styles to create some interesting
2 // visual effects. To get the snaked edges run dot2tex with the -s option
3 // to force straight edges. Example
4 // $ fdp -Txdot balls.dot | dot2tex -s > balls.tex
5 graph G {
6 node [shape=circle, fixedsize=True, width="0.2", style="ball color = green", label=""];
7 edge [style="snake=zigzag, green"];
8 a_1 -- c -- a_2;
9 c [style="ball color=black"];
10 edge [style="snake=snake, blue", color=red];
11 node [style="ball color = red", label=""];
12 a_3 -- c -- a_4 --a_3;
13 }