This commit is contained in:
pa
2025-11-19 17:07:49 +09:00
committed by Natsumi
parent 078b22e644
commit 83e9470850
3 changed files with 6 additions and 6 deletions
@@ -258,9 +258,9 @@
resizeObserver.value.disconnect();
resizeObserver.value = null;
}
if (echartsInstance.value) {
echartsInstance.value.dispose();
echartsInstance.value = null;
if (echartsInstance) {
echartsInstance.dispose();
echartsInstance = null;
}
});
@@ -51,7 +51,7 @@ function computeForceOptions(nodes, links) {
repulsion,
edgeLength: [minEdge, maxEdge],
gravity: 0.3,
layoutAnimation: false
layoutAnimation: nodes.length < 1000
};
}