for groups

This commit is contained in:
pythongosssss 2023-10-13 20:25:20 +01:00
parent 8040581506
commit c6df6d642a

View File

@ -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);
}); });