Adding the state diagram creation tool

This commit is contained in:
John Bresnahan 2013-05-20 21:49:07 -10:00
parent 0fbfa18f9d
commit 702917525a

9
tools/make_state_machine.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
source /home/jbresnah/Dev/OpenStack/openstackVE/bin/activate
f=`mktemp`
python -c 'import staccato.xfer.events as e;e._print_state_machine()' > $f
#dot -T png -o $1 $f
dot -T pdf -o $1 $f
rm $f
echo "Made $1"