An open API service indexing awesome lists of open source software.

https://github.com/mryndzionek/scxml2plantuml


https://github.com/mryndzionek/scxml2plantuml

plantuml scxml uml

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

GSL SCXML to PlantUML state diagram converter
=============================================

Introduction
------------

The scxml2plantuml is a [GSL](https://github.com/imatix/gsl) script converting SCXML state chart
specification to a [PlantUML](http://plantuml.sourceforge.net) diagram.

Dependencies
------------

[GSL](https://github.com/imatix/gsl), [PlantUML](http://plantuml.sourceforge.net)

Usage
-----

Got to the model directory and run the generate script:

```sh
cd model
./generate
```

Examples
--------

* simple LED blink example
![led_blink](img/blink.png?raw=true "LED blinker UML state chart diagram")

* simple LED+Button game example
![led_game](img/game.png?raw=true "LED game UML state chart diagram")

* microwave oven state machine taken from [SCXML](http://www.w3.org/TR/scxml/#N11829) site
![microwave-01](img/microwave-01.png?raw=true "Simple microwave UML state chart diagram")

* another microwave oven state machine taken from [SCXML](http://www.w3.org/TR/scxml/#MicrowaveParallel) site
![microwave-02](img/microwave-02.png?raw=true "Simple microwave UML state chart diagram")

* simple chronometer state machine
![chronometer](img/chronometer.png?raw=true "Chronometer UML state chart diagram")

* Blackjack and Traffic Report state machine taken from [SCXML](http://www.w3.org/TR/scxml/#invokeex) site
![blackjack](img/blackjack.png?raw=true "Blackjack UML state chart diagram")
![traffic](img/traffic.png?raw=true "Traffic report UML state chart diagram")

* calculator state machine taken from [SCXML](http://www.w3.org/TR/scxml/#N11840) site
![calc](img/calc.png?raw=true "Calculator UML state chart diagram")

Contact
-------
If you have questions, contact Mariusz Ryndzionek at: