File: pstarrows.dot

package info (click to toggle)
dot2tex 2.11.3-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,740 kB
  • sloc: python: 3,673; makefile: 119
file content (15 lines) | stat: -rw-r--r-- 526 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"];
}