Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Redraw node on opt change

pythongosssssc23af92baf0b
diff --git a/web/extensions/core/rerouteNode.js b/web/extensions/core/rerouteNode.js
index 45b63d878..bdc7306b0 100644
--- a/web/extensions/core/rerouteNode.js
+++ b/web/extensions/core/rerouteNode.js
@@ -46,6 +46,7 @@ app.registerExtension({
this.outputs[0].name = "";
}
this.size = this.computeSize();
+ app.graph.setDirtyCanvas(true);
},
},
{
diff --git a/web/index.html b/web/index.html
index 67c7d1e8c..1236d754b 100644
--- a/web/index.html
+++ b/web/index.html
@@ -7,6 +7,7 @@
<script type="module">
import "/extensions/core/dynamicPrompts.js";
+ import "/extensions/core/rerouteNode.js";
import { app } from "/scripts/app.js";
await app.setup();