fix app.js no graph defined (#3754)

* local test

* fix "graph" not found

* fix

---------

Co-authored-by: Xiujuan Li <xiujuali@amazon.com>
main
Juanjuan 8 months ago committed by GitHub
parent b7c473d1ab
commit 379ff92e9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2239,7 +2239,7 @@ export class ComfyApp {
const node = LiteGraph.createNode(data.class_type);
node.id = isNaN(+id) ? id : +id;
node.title = data._meta?.title ?? node.title
graph.add(node);
app.graph.add(node);
}
for (const id of ids) {

Loading…
Cancel
Save