Plugin: graph source color /让图谱成为知识地图

Plugin/Theme Disclaimer

Is this project open source? Yes
Is this project completely free? Yes
Is this project vibe-coded beyond the author’s ability to comprehend how it works? No
Community Directory: link


▎ Plugin: Graph Source Color — 让图谱成为知识地图

Hello everyone,

▎ Your graph view is a mess. Here’s how I made it a knowledge map.

▎ I built a plugin called Graph Source Color that solves a problem I had: the graph view shows connections, but
▎ everything looks the same. You can’t tell which “branch” a note belongs to.

▎ The idea is simple: you designate source folders (like wiki/industries, wiki/sciences), and the plugin colors nodes
▎ based on which source they’re linked to. Notes connected to multiple sources get split-color nodes—left/right for 2,
▎ pie-chart for 3+.

▎ It traces links automatically (both directions, with BFS propagation), so you don’t have to tag anything manually.
▎ Just set your source folders and the graph becomes a readable knowledge map.

▎ It’s read-only (no graph.json modifications), supports color inheritance from parent folders, and has a visual
▎ folder picker in settings.

▎ Demo: 多色渲染示例

▎ Install: Search “Graph Source Color” in Community Plugins.

▎ Repo: GitHub - Karl-CN/graph-source-color · GitHub

▎ What do you wish your graph view could show you?

大家好:

绘本始之色,明脉络之形。

▎ 我做了一个插件,Graph Source Color — 让图谱成为知识地图。

▎ 你有没有打开图谱视图,看到一团密密麻麻的节点,却分不清它们属于哪个领域?

▎ 原生图谱只展示连线,所有节点一个颜色,看不出知识结构。Graph Source Color
▎ 解决的就是这个问题——给图谱加上"知识脉络"的语义。

▎ 怎么用:
▎ 指定几个源点文件夹(比如
▎ wiki/industries、wiki/sciences),每个文件夹就是一条知识主线。插件自动追踪链接关系,把关联到同一源点的节点染成同色。

▎ 效果:
▎ - 打开图谱,一眼看出笔记属于哪条知识脉络
▎ - 关联多个源点的节点显示分割色(左右分割或扇形分割),交叉领域一目了然
▎ - 链接关系自动传播,不用手动标记每个笔记

▎ 特点:
▎ - 只读模式,不修改 graph.json
▎ - 颜色继承:父文件夹颜色自动级联到子文件夹
▎ - 设置页可视化文件夹选择器

▎ 演示: 多色渲染示例

▎ 安装: 社区插件搜索 “Graph Source Color”

▎ 仓库: GitHub - Karl-CN/graph-source-color · GitHub

▎ 欢迎反馈~