Adding the state diagram creation tool
This commit is contained in:
parent
0fbfa18f9d
commit
702917525a
9
tools/make_state_machine.sh
Executable file
9
tools/make_state_machine.sh
Executable 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"
|
Loading…
x
Reference in New Issue
Block a user