feat: 更新 README,添加 3D 图展示和项目结构;增强 Code3DGraph 组件,支持节点发光效果和屏幕坐标投影;优化 CodePod 组件,增加文件保存和刷新功能;调整 NodeInfo 组件位置;扩展状态管理,增加保存文件功能

This commit is contained in:
xiongxiao
2026-03-14 03:54:35 +08:00
committed by cnb
parent 7d66ccb3a1
commit 0dcefbcdc8
5 changed files with 199 additions and 41 deletions

View File

@@ -1,20 +1,41 @@
# vite-react-template
# code-graph
## download template
使用 Graphology 分析代码依赖关系,生成关系图谱,并使用 SigmaJS 可视化展示。
使用3d图展示
## 特性
- 代码依赖关系分析
- 关系图可视化
- 交互式图谱探索
## 技术栈
- **Graphology** - 图分析库
- **SigmaJS** - 图可视化
- **React** + **Vite**
- **TanStack Router** - 路由
- **TailwindCSS v4** - 样式
## 快速开始
```bash
ev sync clone -i https://kevisual.cn/root/ai/kevisual/frontend/vite-react-template
# 安装依赖
bun install
# 启动开发服务器
bun run dev
```
## clone auth update
## 项目结构
```bash
ev sync clone -l -i https://kevisual.cn/root/ai/kevisual/frontend/vite-react-template/public/auth.json
```
## code-graph
使用graphology分析代码依赖关系生成关系。
使用sigmajs可视化关系图。
src/
├── components/ui/ # UI 组件
├── lib/ # 工具函数
├── modules/ # 应用模块
├── pages/ # 页面组件
├── routes/ # 路由配置
└── styles/ # 样式文件
```