diff options
Diffstat (limited to 'graphics/dot2tex/doc/docgraphs/pstarrows.dot')
-rw-r--r-- | graphics/dot2tex/doc/docgraphs/pstarrows.dot | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/dot2tex/doc/docgraphs/pstarrows.dot b/graphics/dot2tex/doc/docgraphs/pstarrows.dot new file mode 100644 index 0000000000..03e592ef8f --- /dev/null +++ b/graphics/dot2tex/doc/docgraphs/pstarrows.dot @@ -0,0 +1,15 @@ +// Examples of Pstricks style arrows. +// To generate this graph you can write: +// $ circo -Txdot pstarrows.dot | dot2tex.py -fpst > pstarrows.tex +digraph G { + d2tdocpreamble="\usepackage{pstricks-add}"; + graph [mindist=0.5]; + node [texmode="math", fixedsize=true, shape=circle, width=0.4]; + c -> n_1 [style="arrows=->"]; + c -> n_2 [style="arrows=->>"]; + c -> n_3 [style="arrows=-<"]; + c -> n_4 [style="arrows=-*"]; + c -> n_5 [style="arrows=-{]}"]; + c -> n_6 [style="arrows=-o"]; + c -> n_7 [style="arrows=-H"]; +}
\ No newline at end of file |