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