1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
digraph ex1p2a {
rankdir="LR";
node [texmode="math",shape="circle",style="state"];
q0 [style="state,initial",label="0"];
q1 [style="state",label="1"];
q2 [style="state",label="2"];
q3 [style="state",label="3"];
q4 [style="state",label="4"];
q5 [style="state",label="5"];
q6 [style="state",label="6"];
q7 [style="state,final",label="7"];
edge [texmode="math",lblstyle="auto"];
q0 -> q0 [label="a,b",topath="loop below"];
q0 -> q1 [label="e",texlbl="$\varepsilon$"];
q0 -> q4 [label="e",texlbl="$\varepsilon$"];
q1 -> q2 [label="a"];
q4 -> q5 [label="b"];
q2 -> q3 [label="a"];
q5 -> q6 [label="b"];
q3 -> q7 [label="e",texlbl="$\varepsilon$"];
q6 -> q7 [label="e",texlbl="$\varepsilon$"];
q7 -> q7 [label="a,b",topath="loop below"];
}
|