I am completely new to this and I wanna lay out my approach here and see if this is what I’m looking for.
Imagine prototyping features for an application where you are not concerned with the graphic design, just trying to make clear and precise the exact sequence of actions - this can include what the user does, and also what the program itself has to do behind the scenes. Ideally, you break it all down into tiny pieces - and it can even help you realize how to write your code.
It seems like Xstate is good for this. But I’m on mobile and the editor seems more desktop-friendly. But I can use the node package in Replit.
It seems like the JSON syntax means the visual editor is a way more smooth way to use the library. Typing out the JSON would be a lot.
Does anyone recommend any other libraries, which can render as static diagrams, perhaps, exported as images? Or can xstate.js do that? Thank you