From efd6a8d9902e79df852012bf4a3fa94e1f8889cb Mon Sep 17 00:00:00 2001
From: ai_xiaopei <xiaopei@aisim.cn>
Date: Fri, 21 Aug 2026 19:05:17 +0800
Subject: [PATCH] feat(graph): tag/entity 虚拟节点落库为真实节点(合成 path 命名空间)

---
 internal/graph/model.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/internal/graph/model.go b/internal/graph/model.go
index 0702912..bcad193 100644
--- a/internal/graph/model.go
+++ b/internal/graph/model.go
@@ -6,6 +6,7 @@
 	Path      string   `json:"path"`
 	Title     string   `json:"title"`
 	Section   string   `json:"section"`
+	NodeType  string   `json:"node_type"` // "file" | "tag" | "entity"
 	Tags      []string `json:"tags"`
 	Entities  []string `json:"entities"`
 	Wikilinks []string `json:"wikilinks"`

--
Gitblit v1.10.0