Debian Codegraph @

examples/pgfarrows.dot

raw
1 /*
2
3 :Title: PGF and TikZ arrows
4 :Tags: PGF
5
6 Examples of PGF/TikZ style arrows. See chapter 14.1 in the PGF/TikZ manual
7 for all availale arrow styles.
8
9 Generated with::
10
11 $ dot2tex --prog=circo pgfarrows.dot > pgfarrows.tex
12
13 */
14 digraph G {
15 graph [mindist=0.5];
16 node [texmode="math", fixedsize=true, shape=circle, width=0.4, style="fill=green!20"];
17 c -> n_1 [style="-stealth", label="stealth"];
18 c -> n_2 [style="-to", label="to"];
19 c -> n_3 [style="-latex", label="latex"];
20 c -> n_4 [style="-diamond", label="diamond"];
21 c -> n_5 [style="-o", label="o"];
22 c -> n_6 [style="{-]}", label="]"];
23 c -> n_7 [style="-triangle 90", label="triangle 90"];
24 c -> n_8 [style="-hooks", label="hooks"];
25 c -> n_9 [style="->>", texmode="math", label=">>"];
26 c [style="fill=red!80"];
27 }