Email or username:

Password:

Forgot your password?
Top-level
Niki Tonsky

@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

3 comments
Martin Kavalar

@nikitonsky understood and very much onboard that for some situations direct manipulation is more effective than editing code.

Mario Trost

@nikitonsky @mkvlr Do you know 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

Raphael

@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.

Go Up