feat: 增加简化版json数据

This commit is contained in:
2026-04-15 14:52:33 +08:00
parent 37cd2171b1
commit 8c5cd3705a
9 changed files with 310 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@ import "knowledge-graph-backend/models"
type GraphService interface {
GetGraphData() models.GraphData
GetSimpleGraphData() models.SimpleGraphData
GetNodeByID(id string) (models.Node, bool)
SearchNodes(query string) []models.Node
GetNeighbors(nodeID string) (models.NeighborResponse, bool)