diff options
Diffstat (limited to 'graphics/dot2tex/doc/docgraphs/pgfarrows.dot')
-rw-r--r-- | graphics/dot2tex/doc/docgraphs/pgfarrows.dot | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/dot2tex/doc/docgraphs/pgfarrows.dot b/graphics/dot2tex/doc/docgraphs/pgfarrows.dot new file mode 100644 index 0000000000..eec85a0c87 --- /dev/null +++ b/graphics/dot2tex/doc/docgraphs/pgfarrows.dot @@ -0,0 +1,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"]; +}
\ No newline at end of file |