1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
digraph example7m {
rankdir="LR";
node [texmode="math",shape="circle",style="state"];
q0 [style="state,initial",label="0"];
q23 [style="state",label="2|3",texlbl="$2\equiv 3$"];
q1 [style="state",label="1"];
q45 [style="state,final",label="4|5",texlbl="$4\equiv 5$"];
edge [texmode="math",lblstyle="auto"];
q0 -> q0 [label="b",topath="loop above"];
q23 -> q23 [label="a,c",topath="loop above"];
q45 -> q45 [label="a,b,c",topath="loop above"];
q1 -> q1 [label="b",topath="loop below"];
q0 -> q1 [label="c"];
q0 -> q23 [label="a"];
q1 -> q23 [label="a,c"];
q23 -> q45 [label="b"];
}
|