docs: add graphify generation guide
This commit is contained in:
27
README.md
27
README.md
@@ -53,6 +53,33 @@ NEXT_PUBLIC_VIDEO_URL=http://localhost:8080/video.h264 npm run dev
|
|||||||
- `web/lib/frame-store.ts`:帧会话读写、校验、迁移。
|
- `web/lib/frame-store.ts`:帧会话读写、校验、迁移。
|
||||||
- `web/lib/video-cache.ts`:原始视频响应缓存。
|
- `web/lib/video-cache.ts`:原始视频响应缓存。
|
||||||
|
|
||||||
|
## 生成图谱
|
||||||
|
|
||||||
|
`graphify-out/` 是生成物,不建议提交到仓库。你在其他项目里想复用这套分析方式时,可以在目标项目根目录重新生成:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify .
|
||||||
|
```
|
||||||
|
|
||||||
|
增量更新:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify . --update
|
||||||
|
```
|
||||||
|
|
||||||
|
如果你在 Codex 里操作,直接对目标项目说这句就够了:
|
||||||
|
|
||||||
|
```text
|
||||||
|
请对当前项目目录运行 graphify,生成 graphify-out,并重点输出 God Nodes、Surprising Connections 和 Suggested Questions。
|
||||||
|
```
|
||||||
|
|
||||||
|
生成后会得到这些文件:
|
||||||
|
|
||||||
|
- `graphify-out/graph.json`
|
||||||
|
- `graphify-out/graph.html`
|
||||||
|
- `graphify-out/GRAPH_REPORT.md`
|
||||||
|
- `graphify-out/manifest.json`
|
||||||
|
|
||||||
## 备注
|
## 备注
|
||||||
|
|
||||||
前端依赖浏览器的 WebCodecs、Cache Storage 和 IndexedDB 能力,建议使用 Chromium / Edge。
|
前端依赖浏览器的 WebCodecs、Cache Storage 和 IndexedDB 能力,建议使用 Chromium / Edge。
|
||||||
|
|||||||
Reference in New Issue
Block a user