Skip to content

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

:rotating_light:

Vanessa54a5d8b76a15
diff --git a/app/src/layout/dock/Graph.ts b/app/src/layout/dock/Graph.ts
index b316aeaa29..bb83fd8e4a 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;