Phase 5: Add Neo4j graph database integration

- Add neo4j_manager.py with full graph operations support
- Data sync: projects, entities, relations to Neo4j
- Graph queries: shortest path, all paths, neighbors, common neighbors
- Graph algorithms: centrality analysis, community detection
- Add 11 new API endpoints for graph operations
- Update docker-compose.yml with Neo4j service
- Update requirements.txt with neo4j driver
This commit is contained in:
OpenClaw Bot
2026-02-20 12:04:41 +08:00
parent 44c07b9984
commit 403e1cde28
6 changed files with 1328 additions and 4 deletions

View File

@@ -152,10 +152,12 @@ POST /api/v1/projects/{project_id}/align-entities?threshold=0.85
- 实体数据导出为 Excel/CSV ✅
- 转录文本导出为 Markdown ✅
5. **Neo4j 图数据库集成** - 下一个优先级
- 数据同步到 Neo4j
- 复杂图查询(最短路径、社区发现)
- 图算法分析(PageRank、中心性)
5. **Neo4j 图数据库集成** - 进行中 🚧
- 数据同步到 Neo4j
- 复杂图查询(最短路径、社区发现)
- 图算法分析(中心性)
- ⏳ 前端图分析面板
- ⏳ 路径可视化
## Phase 6: 企业级功能 - 规划中 📋