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