Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Atom package for writing (and previewing) beautiful state machine charts

License

Notifications You must be signed in to change notification settings

sverweij/atom-state-machine-cat-preview

Repository files navigation

Atom State Machine Cat Preview package


⚠️ status 2023-05-05: archived

As the atom editor is no more, this plugin is archived and will not be maintained anymore.


Write beautiful state charts.

Shows the rendered finite state machine diagram of the smcat or scxml in your current editor window when you press ctrl-shift-G.

Enabled for .smcat and .scxml files

animated gif demoing live preview of a simple state chart

Features

  • syntax highlighting
  • realtime rendering of your state machine diagram
  • SVG export - to file or clipboard
  • PNG export - to file
  • Uses the pure javascript state-machine-cat package for parsing and rendering. That supports most UML state machine elements. Apart from states and transitions:
    • initial, final, choice, join, fork, junction, history, deep history and destroy pseudo states
    • nested state machines
    • parallel states
    • state activities
    • transition events, conditions and actions
    • notes
  • realtime rendering of SCXML documents

See the short, illustrated tutorial for details.

License information

This software is free software licensed under the MIT license.