summaryrefslogtreecommitdiffstats
path: root/figs/ex3p2.dot
blob: 7b9abdb2bb098c198de5f30acb42600ee21e9127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
digraph ex3p2 {
	rankdir="LR";
	node [texmode="math",shape="circle",style="state"];
	q0 [style="state,initial,final,initial above,accepting below",label="0"];
	q1 [style="state",label="1"];
	q2 [style="state",label="2"];
	edge [texmode="math",lblstyle="auto"];
	q0 -> q0 [label="a",topath="loop left"];
	q0 -> q1 [label="b"];
	q1 -> q0 [label="b"];
	q1 -> q2 [label="a"];
	q2 -> q1 [label="a"];
	q2 -> q2 [label="b",topath="loop right"];
}