ai_xiaopei
9 days ago 6b58a8fd1d10191d5720b037af1137d2a747cfeb
refs
author ai_xiaopei <xiaopei@aisim.cn>
Sunday, July 26, 2026 10:33 +0800
committer ai_xiaopei <xiaopei@aisim.cn>
Sunday, July 26, 2026 10:33 +0800
commit6b58a8fd1d10191d5720b037af1137d2a747cfeb
tree b154e6935df48a2c7a93ad6554312231005a5499 tree | zip | gz
parent 495bfc3f4204c757a4474f8265ea817208d18df0 view | diff
feat: add graph command for knowledge graph queries

- graph stats: show node/edge counts and relation distribution
- graph query: find nodes by keyword and show their edges
- graph related: find related nodes through shared tags/entities
- support --json output for all graph commands
- add GetRelationStats, FindNodesByKeyword, GetNodeEdges, FindRelatedNodes methods to Store
1 files modified
1 files added
521 ■■■■■ changed files
cmd/graph.go 240 ●●●●● diff | view | raw | blame | history
internal/index/sqlite.go 281 ●●●●● diff | view | raw | blame | history