summaryrefslogtreecommitdiffstats
path: root/figs/example4det.dot
blob: 71216908a542edcaaf506a0fd4e8a677a782b5d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
digraph example4det {
	rankdir="LR";
	node [texmode="math",shape="circle",style="state"];
	q0 [style="state,initial",label="0",texlbl="$\{0\}$"];
	q01 [style="state",label="01",texlbl="$\{0,1\}$"];
	q02 [style="state,final",label="02",texlbl="$\{0,2\}$"];
	q012 [style="state,final",label="012",texlbl="$\{0,1,2\}$"];
	edge [texmode="math",lblstyle="auto"];
	q0 -> q0 [label="b",topath="loop above"];
	q0 -> q01 [label="a"];
	q01 -> q012 [label="a"];
	q01 -> q02 [label="b"];
	q012 -> q012 [label="a",topath="loop above"];
	{ rank="same"; q012 -> q02 [label="b"]; }
	q02 -> q0 [label="a,b"];
}