summaryrefslogtreecommitdiff
path: root/graphics/dot2tex/doc/docgraphs/pgfarrows.dot
blob: eec85a0c872bede1ec90932d456c637efbec01cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Examples of PGF/TikZ style arrows. See chapter 14.1 in the PGF/TikZ manual
// for all availale arrow styles. 
// To generate this graph you can write:
// $ circo -Txdot pgfarrows.dot | dot2tex.py > pgfarrows.tex
digraph G {
	graph [mindist=0.5];
	node [texmode="math", fixedsize=true, shape=circle, width=0.4, style="fill=green!20"];
	c -> n_1 [style="-stealth"];
	c -> n_2 [style="-to"];
	c -> n_3 [style="-latex"];
	c -> n_4 [style="-diamond"];
	c -> n_5 [style="-o"];
	c -> n_6 [style="{-]}"]; 
	c -> n_7 [style="-triangle 90"];
	c -> n_8 [style="-hooks"];
	c -> n_9 [style="->>"];
	c [style="fill=red!80"];
}