feat: 增加简化版json数据
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user