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.32k stars 602 forks source link

Preview of what link is sending to node doesn't work after saving and reloading with configure #465

Closed Thistlebrew closed 1 week ago

Thistlebrew commented 1 month ago

Was mainly using my own custom nodes so I thought maybe there was something I missed or was doing wrong, but used the nodes from the library and did a save, clear, then configure to reload and it doesn't work with included nodes either.

Before Save: 2024-04-04 16_03_47-index html

After Save, Clear and Configure: 2024-04-04 16_04_42-index html

Thistlebrew commented 1 week ago

Figured it out, after doing a configure, you need to call graph.start() again.