Skip to content

Instantly share code, notes, and snippets.

@triss
Created January 20, 2012 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save triss/1644151 to your computer and use it in GitHub Desktop.
Save triss/1644151 to your computer and use it in GitHub Desktop.
digraph fsm {
label = "[abc]*c";
rankdir=LR;
node [shape = doublecircle]; Q_0;
node [shape = circle]; Q_1;
Q_0 -> Q_1 [ label = "c" ];
Q_1 -> Q_0 [ label = "c" ];
Q_0 -> Q_0 [ label = "a", side = l ];
Q_1 -> Q_1 [ label = "a", side = r ];
Q_0 -> Q_0 [ label = "b" ];
Q_1 -> Q_1 [ label = "b" ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment