gen_fsm state machine drawing tool

Vance Shipley <>
Mon Oct 1 18:52:24 CEST 2001


I have cleaned up my drawing tool and incorporated several enhancements.
I have attached an example output graphic from dot for our T1 alarm state 
machine, as well as the dot output specification from graph_fsm and the 
graph_fsm.erl source file itself.  I hope someone finds it useful. :)

It won't likely work for every case of coding style but I make it work 
for the souerce files I create.  It gets enhanced to deal with more cases
as I need them internally.  If you have any comments, suggestions or
enhancement requests let me know.

	-Vance

Vance Shipley
Motivity Telecom Inc.
+1 519 579 5816


Matthias Lang writes:
> 
> At the Erlang User's Conference (thanks Bjarne, Bj=F6rn, Tuula and Eeva
> and everyone else for organising a fabulous conference!) I mentioned
> Vance Shipley's tool for graphing gen_fsm state machines. Someone in
> the audience wanted to know more about it.
> 
> I can't find the tool online anywhere, but I saw that Vance is active
> on the mailing list, so getting a copy should be easy. (LGPL licence)
> 
> I've attached an example of what I meant when I said the automatically
> generated diagrams looked like the ITU spec redrawn by a tripping
> hippie. The ITU's original is on page 5 of Q.703.
> 
> Matthias
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t1_spanfsm.gif
Type: application/octet-stream
Size: 30506 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20011001/1c05f2a8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t1_spanfsm.dot
Type: application/msword
Size: 1326 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20011001/1c05f2a8/attachment.dot>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graph_fsm.erl
Type: application/octet-stream
Size: 13091 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20011001/1c05f2a8/attachment-0001.obj>


More information about the erlang-questions mailing list