mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-13 15:02:37 +08:00
for groups
This commit is contained in:
parent
8040581506
commit
c6df6d642a
@ -319,8 +319,8 @@ class EzGraph {
|
|||||||
const graph = JSON.parse(JSON.stringify(this.app.graph.serialize()));
|
const graph = JSON.parse(JSON.stringify(this.app.graph.serialize()));
|
||||||
return new Promise((r) => {
|
return new Promise((r) => {
|
||||||
this.app.graph.clear();
|
this.app.graph.clear();
|
||||||
setTimeout(() => {
|
setTimeout(async () => {
|
||||||
this.app.loadGraphData(graph);
|
await this.app.loadGraphData(graph);
|
||||||
r();
|
r();
|
||||||
}, 10);
|
}, 10);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user