Grapviz normally formats diagrams according to fixed styles.
I would like to set nodes positions of this graph:
generated with this code:
digraph finite_state_machine {
# rankdir=LR;
size="8,5"
node [shape = doublecircle]; S E;
node [shape = circle];
S -> S0 [ label = "0/-" ];
S -> S1 [ label = "1/-" ];
S0 -> S1 [ label = "1/-" ];
S1 -> S0 [ label = "0/-" ];
S0 -> S00 [ label = "0/0" ];
S1 -> S11 [ label = "1/1" ];
S0 -> E [ label = "$/-" ];
S1 -> E [ label = "$/-" ];
S00 -> S00 [ label = "0/0" ];
S11 -> S11 [ label = "1/1" ];
S00 -> S1 [ label = "1/0" ];
S11 -> S0 [ label = "0/1" ];
S00 -> E [ label = "$/0" ];
S11 -> E [ label = "$/1" ];
}
// http://www.graphviz.org/Gallery/directed/fsm.html
// dot -Tpng example_fsm.dot > example_fsm.png