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()));
return new Promise((r) => {
this.app.graph.clear();
setTimeout(() => {
this.app.loadGraphData(graph);
setTimeout(async () => {
await this.app.loadGraphData(graph);
r();
}, 10);
});