-
Notifications
You must be signed in to change notification settings - Fork 2
graph
Kelvin DeCosta edited this page Dec 23, 2019
·
3 revisions
This subcommand loads a Turing machine from a file and outputs the definition for the same in DOT, a language that ships with Graphviz
usage: alan graph [-h] [-f FILENAME] definition
positional arguments:
definition path to definition file
optional arguments:
-h, --help show this help message and exit
-f FILENAME, --filename FILENAME
path to save graph
Graph the machine:
alan graph examples/binary-palindrome.aln -f assets/readme/binary-palindrome.png