Folder Graph Organizer
unlistedby dogdrone
Automatically creates folder index notes and links all notes to them, creating clean folder-cluster bubbles in the graph view.
Folder Graph Organizer
An Obsidian plugin that automatically creates folder index notes and links every note, canvas, and subfolder back to them β turning Obsidian's Graph View into a clean, hub-and-spoke map of your entire vault.
What it does
For every folder in your vault, the plugin:
- Creates an index note named after the folder (e.g.
Projects/Projects.md) - Links every note in that folder back to the index with an
up::property - Links every canvas in that folder into the index note
- Chains subfolders β each subfolder's index gets an
up::link to the parent index, building a full hierarchy - Assigns a unique color tag (
folder-color-1throughfolder-color-8) to each index note so you can give every folder cluster its own color in Graph View
The result in Graph View is a cluster of connected nodes for every folder, with the index note as the large central hub.
Recommended companion plugin
ποΈ Install Folder Notes by LostPaul for the best experience.
Because index notes are named after their folder and placed inside it, the Folder Notes plugin recognises them automatically β no extra configuration needed. Once installed:
- Clicking a folder in the file explorer opens its index note directly
- The folder acts like a page, just like Notion or Craft
- Your vault feels fully navigable without ever touching Graph View
The two plugins were designed to work together out of the box.
Features
| Feature | Details |
|---|---|
| π Folder-named indexes | Each index is named after its folder, not a generic _Index |
| π Auto-linking | Notes get up:: [[FolderName]] prepended on creation |
| πΊοΈ Canvas support | .canvas files are listed in the folder index |
| π² Subfolder chaining | Subfolder indexes link up to their parent |
| π¨ Per-folder colors | 8 color tags assigned by folder name for Graph View groups |
| β‘ Auto-link on create | New notes and canvases are linked instantly |
| π Dashboard | Visual overview of all folders, their note counts, and index status |
Installation
Via BRAT (recommended for now)
- Install BRAT from Community Plugins
- Open BRAT settings β Add Beta Plugin
- Paste:
https://github.com/jacobbarcys-dot/folder-graph-organizer - Enable the plugin in Settings β Community Plugins
Manual installation
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create a folder:
<your vault>/.obsidian/plugins/folder-graph-organizer/ - Copy the three files into that folder
- Reload Obsidian and enable the plugin
Usage
First-time setup
- Open the Folder Graph Organizer dashboard (ribbon icon or command palette)
- Click "Create All Index Notes" to create an index in every folder
- Click "Scan & Link Everything" to link all existing notes and canvases
- Open Graph View β your vault is now organised into folder clusters
Ongoing use
With Auto-link on create enabled (default), any new note or canvas you create is automatically linked to its folder index. You don't need to run any commands manually.
Commands
| Command | What it does |
|---|---|
| Create index note for current folder | Creates an index for the folder of the active note |
| Create index notes for all folders | Creates indexes for every folder that doesn't have one |
| Scan vault and link all notes | Links all existing notes and canvases to their folder indexes |
| Open Folder Graph dashboard | Opens the visual overview panel |
Graph View β color setup
Each index note is tagged with folder-color-1 through folder-color-8 based on the folder name. To make each folder cluster a different colour:
- Open Graph View β click the sliders icon β Groups
- Add a group, set the query to
tag:folder-color-1, pick a colour - Repeat for
folder-color-2throughfolder-color-8 - Add one more group:
tag:folder-indexwith a large node size to make hubs stand out
The colour assigned to each folder is stable β it won't change unless you rename the folder.
Settings
| Setting | Default | Description |
|---|---|---|
| Backlink property | up | The inline property added to notes linking back to their index |
| Index note tag | folder-index | Tag applied to all index notes |
| Link subfolders to parent | On | Chains subfolder indexes to the parent index |
| Link canvas files | On | Adds canvas files to the folder index |
| Auto-link new files | On | Automatically links new notes and canvases on creation |
How it works
When you run Scan & Link Everything, the plugin:
- Walks every folder in your vault (deepest first)
- Creates an index note named
FolderName.mdinside the folder if one doesn't exist - Prepends
up:: [[FolderName]]to every note in the folder - Adds
[[CanvasName.canvas]]entries under## Canvasesin the index - Adds
[[SubfolderName]]entries under## Subfoldersin the index - Links the subfolder's own index up to the parent with
up:: [[ParentFolderName]]
All index notes include tags: [folder-index, folder-color-N] in their frontmatter so they can be targeted in Graph View groups.
Building from source
git clone https://github.com/jacobbarcys-dot/folder-graph-organizer.git
cd folder-graph-organizer
npm install
node esbuild.config.mjs production
The compiled output is main.js. Copy main.js, manifest.json, and styles.css to your vault's plugin folder.
License
MIT
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.