Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Improve graph rendering https://github.com/siyuan-note/siyuan/issues/13196

Daniel27fed40e5fca
diff --git a/app/src/layout/dock/Graph.ts b/app/src/layout/dock/Graph.ts
index ec171ada5f..0c39f6b745 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) {