scxmlcc icon indicating copy to clipboard operation
scxmlcc copied to clipboard

WIP GraphViz DOT output

Open sstiller opened this issue 6 years ago • 1 comments

This is still work in progress and should not be merged.

This extension adds GraphViz DOT output support to scxmlcc. It's nice for documenting the code or to get an overview over hand-written scxml files (or if the available graphical scxml editor doesn't work well in showing all needed details).

The output was tested at https://dreampuf.github.io/GraphvizOnline

It would be nice to get some feedback.

Currently supported

  • states
    • atomic states
    • compound states and children
    • parallel states
    • initial states
    • final states
    • onentry / onexit actions
  • transitions
    • external and internal (dashed) transitions
    • initial transitions
    • events
    • conditions
    • actions

To do

  • Do some more tests
  • Clean up the code
  • Try to make the output graphics more readable (Ideas?)
  • Windows CI stuff
  • ???

sstiller avatar Apr 13 '19 21:04 sstiller

wow, nice :-)

I will have a look at it when I get some time

jp-embedded avatar Apr 14 '19 18:04 jp-embedded