Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to export state machine diagram #76

Closed
oliverzy opened this issue Feb 7, 2015 · 4 comments
Closed

Be able to export state machine diagram #76

oliverzy opened this issue Feb 7, 2015 · 4 comments

Comments

@oliverzy
Copy link

oliverzy commented Feb 7, 2015

Hi Author,

The library is in pretty good shape, I would like to use it in our project. My question is that is there any plan to support exporting state machine diagram?

The state machine diagram is very useful in documentation and also be able to communicate with non-technical people.

@ifandelse
Copy link
Owner

@oliverzy Actually this is something I've thought about, though I haven't spiked out any ideas yet. If you've come across any decent chart-producing JS libs that you like, let me know. 😄

@oliverzy
Copy link
Author

oliverzy commented Feb 8, 2015

I recommend JointJS. FSM support is builtin. See this example: http://www.jointjs.com/demos/fsa
JointJS is based on svg, I think it's better than static image.

@oliverzy
Copy link
Author

After playing with the library, I found it seems hard to export a diagram for machina because machina doesn't explicitly define transition end state when the value of inputType is a function not a string.

@ifandelse
Copy link
Owner

Closing this for now - it would be a nice-to-have option at some point, so I may try to revisit it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants