jagenjo / litegraph.js

A graph node engine and editor written in Javascript similar to PD or UDK Blueprints, comes with its own editor in HTML5 Canvas2D. The engine can run client side or server side using Node. It allows to export graphs as JSONs to be included in applications independently.
MIT License
5.33k stars 602 forks source link

Code generation #433

Open retrouser955 opened 5 months ago

retrouser955 commented 5 months ago

Is there a way to convert the graph into a runnable javascript or python code similar to what blockly does?

atlasan commented 4 months ago

Actually I haven't tried yet, but a graph should be runnable from the browser or from the shell with Node.js Just load the graph and run it, the editor, visuals and canvas should be optionals.