- Spin (follow this link), the main background program
- iSpin (interface), run
iSpin/install.sh
found in the Spin package - Tcl/Tk (Synaptics > tcl), iSpin interface
- Dot (Synaptics > graphviz), for generating automata view
- Yacc (Synaptic > bison), for compilation
It is saved intospin -M -t foo.pml
foo.pml.ps
.For the flowchart directly built from model, it may be wise to specify it's depth when the model has an infinite behavior.
To generate the automata view in ps file:spin -u100 foo.pml
./pan -D | dot > foo.dot
dot -Tps foo.dot -o foo.ps
See more here: The Dot Guide.
No comments:
Post a Comment