From e27c8fc4c0f5cc397c193705b8370193c1295c21 Mon Sep 17 00:00:00 2001 From: Wenjie Zhang Date: Thu, 4 Jun 2026 17:58:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E5=9B=BE=E8=B0=B1?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E9=A2=9C=E8=89=B2=E5=92=8C=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E6=B5=AE=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/GraphCanvas.vue | 296 +++++++++++++++++++++++++---- 1 file changed, 257 insertions(+), 39 deletions(-) diff --git a/web/src/components/GraphCanvas.vue b/web/src/components/GraphCanvas.vue index b56fb6ad..b4e7c7a9 100644 --- a/web/src/components/GraphCanvas.vue +++ b/web/src/components/GraphCanvas.vue @@ -8,17 +8,47 @@
- -
-
- 节点 - {{ graphData.nodes.length }} - / {{ graphInfo.node_count }} +
+
+
+ + {{ activeStatsPanel === 'node' ? '实体类型' : '关系类型' }} + +
+
+
+
+ + {{ item.name }} + {{ item.count }} +
+
+
-
- - {{ graphData.edges.length }} - / {{ graphInfo.edge_count }} +
+ +
@@ -30,7 +60,7 @@