graph-builder
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGraph Builder
Graph Builder
Analyze vault link structure and build meaningful connections between notes.
在Obsidian库中分析链接结构,为笔记建立有意义的关联。
Use Cases
使用场景
- Analyze — Statistics and insights about vault graph
- Find Orphans — Notes without incoming/outgoing links
- Suggest Links — AI-powered connection recommendations
- Add Links — Batch link creation based on content analysis
- Visualize — Export graph data for visualization
- 分析 — 关于库图谱的统计数据和洞察
- 查找孤立笔记 — 没有入站/出站链接的笔记
- 建议关联 — 基于AI的连接推荐
- 添加链接 — 基于内容分析批量创建链接
- 可视化 — 导出图谱数据用于可视化
Quick Commands
快捷命令
| Command | Action |
|---|---|
| Full vault analysis with stats |
| List unconnected notes |
| Get link suggestions |
| Apply suggested links |
| 命令 | 操作 |
|---|---|
| 完整的库分析及统计数据 |
| 列出无关联的笔记 |
| 获取链接建议 |
| 应用建议的链接 |
Analysis Output
分析输出
📊 Vault Graph Analysis
Total notes: 247
Total links: 892
Orphan notes: 12
Most connected: [[MEMORY]] (47 links)
Weakest domain: learnings/ (avg 1.2 links/note)
🔗 Suggested connections:
• [[Project A]] ↔ [[Client X]] (mentioned 5x)
• [[Idea B]] → [[MOC/Ideas]] (category match)📊 库图谱分析
总笔记数: 247
总链接数: 892
孤立笔记数: 12
关联最多的笔记: [[MEMORY]] (47个链接)
关联最弱的领域: learnings/ (平均1.2个链接/笔记)
🔗 建议的关联:
• [[Project A]] ↔ [[Client X]] (提及5次)
• [[Idea B]] → [[MOC/Ideas]] (类别匹配)Domain Configuration
领域配置
Domains are configured in . Default structure:
references/domains.md- daily/ — Daily journal entries
- thoughts/ — Processed ideas, reflections, learnings
- goals/ — Goal cascade files
- MOC/ — Maps of Content (index pages)
- projects/ — Project notes
领域在中配置。默认结构:
references/domains.md- daily/ — 每日日志条目
- thoughts/ — 整理后的想法、反思、学习内容
- goals/ — 目标层级文件
- MOC/ — 内容地图(索引页面)
- projects/ — 项目笔记
Link Building Strategy
链接构建策略
- Entity extraction — Find mentions of existing notes
- Category mapping — Connect notes to relevant MOCs
- Temporal links — Link daily entries to related thoughts
- Cross-domain — Bridge domains (project ↔ goal ↔ daily)
- 实体提取 — 查找现有笔记的提及内容
- 类别映射 — 将笔记关联到相关的MOC
- 时间关联 — 将每日条目与相关想法链接
- 跨领域关联 — 连接不同领域(项目 ↔ 目标 ↔ 日常)
Scripts
脚本
- — Graph statistics and orphan detection
scripts/analyze.py - — Batch link insertion
scripts/add_links.py
- — 图谱统计与孤立笔记检测
scripts/analyze.py - — 批量插入链接
scripts/add_links.py
References
参考文档
- — Domain definitions and rules
references/domains.md - — Frontmatter schema for notes
references/frontmatter.md
- — 领域定义与规则
references/domains.md - — 笔记的前置元数据 schema
references/frontmatter.md
Output Format
输出格式
Reports use plain markdown (for vault notes) or HTML (for Telegram).
For vault: Standard markdown with [[wiki-links]]
For Telegram: HTML tags (b, i, code only)
报告使用纯Markdown格式(用于库笔记)或HTML格式(用于Telegram)。
对于库:标准Markdown格式,包含[[wiki-links]]
对于Telegram:仅使用HTML标签(b, i, code)