blob: dc824b2c18ffed185e482df9b740601c2dcb1446 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
digraph example1 {
rankdir="LR";
node [texmode="math",shape="circle",style="state"];
q0 [style="state,initial",label="0"];
q1 [style="state,final",label="1"];
edge [texmode="math",lblstyle="auto"];
q0 -> q0 [label="a",topath="loop above"];
q1 -> q1 [label="a",topath="loop above"];
q0 -> q1 [label="b"];
q1 -> q0 [label="b"];
}
|