Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Graph Source Color

KarlKarl243 downloads

根据源点笔记动态着色图谱节点

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

An Obsidian plugin that dynamically colors graph nodes based on their linked "source" notes.

Demo

View the interactive demo — Step-by-step animation showing how source colors propagate through links.

Features

  • Source Detection — Automatically identifies source notes within configured folders. Each folder becomes a color group.
  • Link Propagation — Recursively traces outgoing and incoming links to associate notes with their relevant sources. Linked notes inherit source colors through BFS propagation.
  • Multi-Color Nodes — Notes linked to multiple sources display split-color nodes:
    • 2 sources → left/right split
    • 3+ sources → pie-chart split
  • Read-Only — Does not modify Obsidian's native graph.json configuration.
  • Folder Tree Selector — Visual folder picker in settings for easy source folder configuration.
  • Color Inheritance — Parent folder colors cascade to sub-folders that don't have an explicit color set.

Installation

From Obsidian Community Plugins

  1. Open Settings → Community Plugins
  2. Search for "Graph Source Color"
  3. Install and enable

Manual Installation

  1. Download main.js, manifest.json and styles.css from the latest release
  2. Copy both files to your vault: <vault>/.obsidian/plugins/graph-source-color/
  3. Restart Obsidian and enable the plugin in Settings → Community Plugins

Configuration

Open Settings → "Graph Source Color" to configure:

Setting Default Description
Enable Multi-Color Nodes true Show split-color nodes for notes linked to multiple sources
Source Folders — Folders containing source notes (each folder = one color group)
Group Colors auto-assigned Color for each source folder

Note: Source folder colors can also be set in Obsidian's native graph settings (color groups with path: queries). The plugin will read and respect those colors.

How It Works

Source Identification

Notes inside configured source folders are automatically treated as source notes. Their group is determined by the folder they belong to.

Association Logic

  1. Outgoing links — A source note's outgoing links associate the target note with that source
  2. Incoming links — A non-source note linking to a source becomes associated with that source
  3. Propagation — Notes already associated with sources propagate those associations through their own outgoing links (BFS)

Commands

Command Description
Refresh Graph Colors Rebuild color cache and re-render overlay
Debug Graph Nodes Output node color info to developer console

Compatibility

  • Minimum Obsidian version: 0.15.0
  • Desktop and mobile supported

Development

npm install
npm run dev    # Watch mode
npm run build  # Production build

License

MIT

HealthExcellent
ReviewPassed
About
Color graph nodes based on source notes in configured folders, assigning each folder a color group and cascading parent folder colors to subfolders. Trace outgoing and incoming links recursively so linked notes inherit source colors and display split-color nodes when tied to multiple sources (left/right for two, pie for three+). Keep Obsidian's native graph.json unchanged and respect colors set in Obsidian's graph settings.
VisualizationLinksFolders
Details
Current version
1.1.2
Last updated
2 months ago
Created
3 months ago
Updates
2 releases
Downloads
243
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
KarlKarlkarl-cn
GitHubkarl-cn
  1. Community
  2. Plugins
  3. Visualization
  4. Graph Source Color

Related plugins

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

ExcaliBrain

An interactive, structured mind-map of your Obsidian vault.

Waypoint

Easily generate dynamic MOCs in your folder notes using waypoints. Enables folders to show up in the graph view and removes the need for messy tags!

Strange New Worlds

Reveal networked thought and the strange new worlds created by your vault.

Leaflet

Interactive maps inside your notes.

Crumbs

Breadcrumb navigation.

Advanced URI

Control everything with URI.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.