Created
September 23, 2012 09:10
-
-
Save bripkens/3769436 to your computer and use it in GitHub Desktop.
DOT file for finite state machine diagrams.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph finite_state_machine { | |
rankdir=LR; | |
node [shape = doublecircle]; 1; | |
node [shape = circle] 0; | |
node [shape = plaintext, label = ""]; start; | |
start -> 0 [ label = "start"]; | |
0 -> 1 [ label = "[1-9]" ]; | |
1 -> 1 [ label = "[0-9]" ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment