From 27fed40e5fca8995f14c543a0d929024240d1353 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 19 Nov 2024 16:28:59 +0800 Subject: [PATCH] :art: Improve graph rendering https://github.com/siyuan-note/siyuan/issues/13196 --- 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 ec171ada5..0c39f6b74 100644 --- a/app/src/layout/dock/Graph.ts +++ b/app/src/layout/dock/Graph.ts @@ -579,8 +579,8 @@ export class Graph extends Model { if (this.graphData.nodes.length > 1024) { maxVelocity = 1024; } - if (this.graphData.nodes.length < 50) { - maxVelocity = 50; + if (this.graphData.nodes.length < 256) { + maxVelocity = 256; } let minVelocity = this.graphData.nodes.length; if (this.graphData.nodes.length > 64) {