pytransitions / transitions

A lightweight, object-oriented finite state machine implementation in Python with many extensions
MIT License
5.48k stars 525 forks source link

Mermaid diagrams #611

Closed ylhan closed 1 week ago

ylhan commented 1 year ago

Is your feature request related to a problem? Please describe. The current diagramming tool is great and generates cool looking images but they cannot be embedded natively in Github README's.

Describe the solution you'd like Add mermaid as an output option to the diagramming tool. This will generate a high fidelity, interactive diagram that can be embedded natively in README's on Github. Additional context Example mermaid diagram on github

aleneum commented 1 year ago

Hello @ylhan,

last time I checked, there were some show stoppers:

it seems like two have been fixed and the third one is open but seems to be fixed as well. I guess I will give mermaid another try.

ylhan commented 1 year ago

That's awesome! Is there anywhere I can sign up for updates?

aleneum commented 1 year ago

You already have :). I will close this issue when mermaid support hits the main branch and post updates here about testing branches or mermaid issues. So GitHub will let you know in any case.

Ben-Taarit commented 11 months ago

Any news on this one?