P3 实现:图谱可视化(优先级1) 新文件: - docs/graph_visualization.html — D3.js 力导向图可视化 * 初始显示 TOP100 高连接节点 + 1跳邻居(约2000节点) * 双击节点展开邻居 * 搜索定位节点 * 缩放/拖拽/点击详情 * 关系类型彩色编码 - src/api/routes/graph_viz.py — 图数据 API * GET /api/v1/graph/data — D3.js 格式图数据 * GET /api/v1/graph/stats — 图谱统计概览 - docs/graph_data.json — 预导出图数据(2003节点, 2587边, 330KB) 功能: - 3362 节点 / 3642 边 / 6 种关系类型 - 高连接节点: muc(54), 发了(51), 4GB(50), AI(40), memory(36) - 滚动缩放 / 拖拽平移 / 双击展开邻居 / 搜索定位 - info-panel 显示节点详情和所有关联关系 |
||
|---|---|---|
| .. | ||
| graph_data.json | ||
| graph_visualization.html | ||
| p3_research.md | ||