5 ms·
Unfortunately not! The graph in Luna isn’t an external visualisation of parts of the data flow, but an explicit alternate syntax for the Luna AST. It’s isomorph
by iamrecursion 8y ago
Unfortunately not! The graph in Luna isn’t an external visualisation of parts of the data flow, but an explicit alternate syntax for the Luna AST. It’s isomorphic to the textual syntax.
It would be possible, perhaps, to use some of the machinery for display to draw other pipelines, but I work on the compiler rather than Luna Studio, so perhaps I’m not the best person to say!
- stared 8y agoI understand well that this is a graphical representation of the code (and I find it really appealing to have this dual representation, rather than post-host visualization). Though, as I imagine, such vis is at some point JavaScript code. (And one could potentially re-use this visualization (not - abstraction) tool for showin arbitrary diagrams with data lookups, in this lovely style.)
- iamrecursion 8y agoOh, I understand what you mean now. My mistake! It is all displayed on Canvas at this point, which does go through JavaScript. We’re actually moving to our own WebGL-based canvas (BaseGL) for performance.
- xaedes 8y agoIt would actually be nice to have more node visualization toolsets for other projects with visual programming in mind out in the open =)