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