summaryrefslogtreecommitdiffstats
path: root/figs/example9b.dot
blob: 78137c997a8a7c93ffb5989c1093b82dbd6e23d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
digraph example9b {
	rankdir="LR";
	node [texmode="math",shape="circle",style="state"];
	q0 [style="state,initial",label="0"];
	q5 [style="state",label="5"];
	q3 [style="state",label="3"];
	q9 [style="state,final",label="9"];
	edge [texmode="math",lblstyle="auto"];
	q0 -> q3 [label="a"];
	q0 -> q5 [label="b"];
	{ rank="same"; q3; q5; }
	q3 -> q3 [label="a",topath="loop above"];
	q5 -> q5 [label="b",topath="loop below"];
	q3 -> q5 [label="b",lblstyle="auto,swap,near end"];
	q5 -> q3 [label="a",lblstyle="auto,swap,pos=-0.2"];
	q0 -> q9 [label="b"];
	q3 -> q9 [label="b"];
	q5 -> q9 [label="b"];
}