From 54a5d8b76a155dd3d1adba23a58e734ffa34d5e0 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 4 Nov 2024 10:46:51 +0800 Subject: [PATCH] :rotating_light: --- app/src/layout/dock/Graph.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/layout/dock/Graph.ts b/app/src/layout/dock/Graph.ts index b316aeaa2..bb83fd8e4 100644 --- a/app/src/layout/dock/Graph.ts +++ b/app/src/layout/dock/Graph.ts @@ -480,7 +480,7 @@ export class Graph extends Model { return true; } } - }) + }); if (!isActive) { return; } @@ -644,7 +644,7 @@ export class Graph extends Model { const edges = new vis.DataSet(); const network = new vis.Network(this.graphElement, {nodes, edges}, options); const time = 256; - let intervalNodeTime = Math.max(Math.ceil(time / 8), 32); + const intervalNodeTime = Math.max(Math.ceil(time / 8), 32); let batch = this.graphData.nodes.length / time / 2; if (batch < 32) { batch = 32;