fix "graph" not found

This commit is contained in:
Xiujuan Li 2024-06-17 15:17:01 +08:00
parent 3e015a37fd
commit 29713866ff

View File

@ -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) {