-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
convert sketch systems to xstate #479
Comments
It would be very interesting if we also had an editor extension to read the machine definitions and allow us to see the visual representation while editing the code. https://github.com/statecharts/xstate-viz could be the foundation for this. |
Currently sketch.systems exports json in XState v3 format, it would be wonderful if XState had a conversion script to v4 (or we convince sketch.systems to upgrade :-) ).
|
@johnkazer Out of curiosity, how do you convert Figma format to xstate? Is there something like |
Is a bit clunky, but sketch.systems defined a method in this tutorial. It might also work for other prototyping apps, if they generate unique URLs per 'screen', 'wireframe', 'state' etc. I looked at Balsamic as an alternative, but I don't think it supports an equivalent approach. |
PS, am investigating option of creating a Figma plugin to export a json list of URLs. |
Here's a pretty raw first go. Run it as a development plugin in the desktop app (not online) |
I have been using sketch systems and I love the fact that I can use their text syntax to explain the states to "semi-technical" users. I also like editing that text format and then running it through the sketch system site to produce xstate json.
I would love to be able to include this as part of my build process, so this is a cheeky request to see if anyone knows of any way to do this conversion in an automated way? Is there a CLI tool available? If not, how hard do you think it might be to write one?
The text was updated successfully, but these errors were encountered: