@nikitonsky cough clerk cough
4 comments
@nikitonsky understood and very much onboard that for some situations direct manipulation is more effective than editing code. @nikitonsky @mkvlr Do you know https://stately.ai/editor? Powerful stuff, alas only for Javascript. It lets you go from code to diagram or from diagram to code and not just for simple state machines, but full on statecharts @nikitonsky @mkvlr Jetbrains MPS seems to be able to do (read: enable you to build) things like that, if only "simple" visualizations. "Projectional editor" is what they call it, IIRC. |
@mkvlr sure but it’s still one-way. You can embed diagrams into code, and I imagine you can even analyze your own code and display results as diagram.
What I want is seeing e.g. state machine diagram like this, drag some nodes and it actually affects the code.
Like, if something could be expressed better via diagram, you do it directly via diagram, without going through code at all