Skip to content

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

:bug: 全局关系图不显示 Fix https://github.com/siyuan-note/siyuan/issues/5114

Liang Dingbc2d609be66f
diff --git a/kernel/api/graph.go b/kernel/api/graph.go
index 8b012f09c1..f2c8ef386f 100644
--- a/kernel/api/graph.go
+++ b/kernel/api/graph.go
@@ -61,9 +61,6 @@ func getGraph(c *gin.Context) {
reqId := arg["reqId"]
ret.Data = map[string]interface{}{"reqId": reqId}
- if nil == arg["id"] {
- return
- }
query := arg["k"].(string)
graphConf, err := gulu.JSON.MarshalJSON(arg["conf"])