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 Project Buttons

Daniel KremenDaniel Kremen39 downloads

Adds one-click project filter buttons to the graph view so you never type path queries by hand.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

One-click project filter buttons for the Obsidian graph view, so you never have to type path: queries by hand.

The plugin injects a small button bar into every graph view: one button per subfolder of a configurable root folder (default projects), plus a Curated reset button and an All projects button. Click a button and the graph's search is set for you.

Graph Project Buttons in the graph view

Features

  • A button per immediate subfolder of your projects root, auto-discovered from the vault.
  • A Curated button that applies a configurable reset query (default -path:projects/) and an All projects button (path:<root>/).
  • Active-button highlighting that reflects the graph's current search.
  • Collapsible bar (chevron toggle), per-button lucide icons, and a left/right dock position.
  • Re-injects itself when the graph re-renders, using a MutationObserver — no polling.
  • The project list is cached and only recomputed when files are created, deleted, or renamed.
  • Zero runtime dependencies. Desktop and mobile.

Privacy

To build the project buttons, the plugin reads only the vault's file list (file paths via getFiles) so it can find the subfolders under your projects root. It never opens or reads file contents, makes no network requests, and writes nothing outside its own plugin settings.

Install

Manually

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Copy them into your vault at <vault>/.obsidian/plugins/graph-project-buttons/.
  3. Reload Obsidian (or toggle community plugins off and on) and enable Graph Project Buttons under Settings → Community plugins.

From the community directory (once published)

Open Settings → Community plugins → Browse, search for Graph Project Buttons, install, and enable it.

Usage

Open any graph view. The bar appears in the top corner. Click a project button to filter the graph to that subfolder, Curated to apply your reset query, or the chevron to collapse the bar. The button matching the current search is highlighted.

Settings

Setting Default Description
Projects root folder projects Top-level folder whose subfolders become buttons.
Curated query -path:projects/ Graph search applied by the curated reset button.
Curated button label Curated Label shown on the curated reset button.
Show curated button on Show the curated reset button.
Show all-projects button on Show the All projects button.
Show icons on Show per-button lucide icons.
Bar position Top left Dock the bar to the top left or top right.
Start collapsed off Open the graph with only the toggle visible.

Development

npm install      # install dev dependencies (zero runtime deps)
npm run dev      # esbuild watch -> main.js
npm run build    # type-check (tsc --noEmit) + production bundle
npm test         # node:test unit tests for the pure helpers
npm run lint     # eslint (eslint-plugin-obsidianmd + typescript-eslint)

To develop against a real vault, symlink or copy this folder into <vault>/.obsidian/plugins/graph-project-buttons/ and run npm run dev.

See docs/architecture.md for how the injection, MutationObserver, and search dispatch fit together, and docs/publishing.md for the community-directory submission steps. Contributor guidelines live in CONTRIBUTING.md.

Support

If this plugin is useful to you, you can sponsor its development through GitHub Sponsors. Sponsorship is entirely optional — the plugin stays free and open source either way.

License

MIT © 2026 Daniel Kremen

HealthExcellent
ReviewPassed
About
Add one-click project filter buttons to every graph view to filter by subfolder without typing path: queries. Show auto-discovered buttons for each project subfolder plus Curated and All buttons, with active-button highlighting, a collapsible dockable bar, and automatic updates when the graph changes.
SearchFoldersInterface
Details
Current version
1.1.2
Last updated
Last week
Created
Last week
Updates
3 releases
Downloads
39
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
GitHub Sponsors
Author
Daniel KremenDaniel Kremendanielkremen818
GitHubdanielkremen818
  1. Community
  2. Plugins
  3. Search
  4. Graph Project Buttons

Related plugins

Floating Search

Search text by using Obsidian default search view.

Hidden Folders Access

Make Obsidian index hidden root-level folders (e.g. .claude) so they appear in the file tree, metadata cache, and Bases.

Better Search Views

Upgrade global search, backlinks and queries with outliner-like context trees.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.