blob: 9797c6033685e32fe72732e0d8b02a3695b3b097 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
digraph example6 {
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"];
edge [texmode="math",lblstyle="auto"];
q0 -> q0 [label="0",topath="loop above"];
q0 -> q1 [label="1"];
q1 -> q0 [label="1"];
q1 -> q2 [label="0"];
q2 -> q1 [label="0"];
q2 -> q2 [label="1",topath="loop above"];
}
|