1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
digraph example4det {
rankdir="LR";
node [texmode="math",shape="circle",style="state"];
q0 [style="state,initial",label="\{0\}"];
q01 [style="state",label="\{0,1\}"];
q02 [style="state,final",label="\{0,2\}"];
q012 [style="state,final",label="\{0,1,2\}"];
edge [texmode="math",lblstyle="auto"];
q0 -> q0 [label="b",topath="loop above"];
q0 -> q01 [label="a"];
q01 -> q012 [label="a"];
q01 -> q02 [label="b"];
q012 -> q012 [label="a",topath="loop above"];
{ rank="same"; q012 -> q02 [label="b"]; }
q02 -> q0 [label="a,b"];
}
|