vendasta / fantasm

Automatically exported from code.google.com/p/fantasm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose GraphViz parameters before calling Google Chart APIs

GoogleCodeExporter opened this issue · comments

Presently, no option is given when graphing an FSM, the default 'dot' chart is 
used 
(http://code.google.com/p/fantasm/source/browse/trunk/src/fantasm/handlers.py#96
). 

It would be nice to expose more Google Chart API portions: 
http://code.google.com/apis/chart/docs/gallery/graphviz.html

It would help to experiment with alternate chart types/sizes/formats, and to 
only graph portions of an FSM (in complex machines). 

Original issue reported on code.google.com by saidimu on 6 Apr 2011 at 6:47

simply append '?type=foo' (anything but type=png) to the url and you will get 
raw .dot output - you can edit it on your own. 'dot' seems to work best for fsm 
diagrams, but you can edit the .dot file and try 'neato' etc.

Original comment by sru...@vendasta.com on 6 Apr 2011 at 7:30

Thanks for the tip.

Seems like graphing portions of an FSM are in the works?
http://code.google.com/p/fantasm/source/browse/trunk/src/fantasm/utils.py#97

Original comment by saidimu on 7 Apr 2011 at 3:01

Original comment by shawn.ru...@gmail.com on 15 Apr 2011 at 8:30

  • Changed state: WontFix
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Original comment by shawn.ru...@gmail.com on 15 Apr 2011 at 8:30

  • Changed state: New
resolved in r141 and r142

there has always existed the ability to leave a single state out of the diagram 
with /fantasm/graphviz/MyMachine/?skipStateName=stateName - this is useful for 
a common fail state that results in many event transitions

Original comment by shawn.ru...@gmail.com on 2 May 2011 at 1:31

  • Changed state: Fixed