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 Filter Chips

Paulo ViannaPaulo Vianna296 downloads

Turn graph filter queries into removable chips: Esc leaves editing without clearing, and Enter saves the filter as a chip you can remove with x.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Turn the graph view filter into removable chips.

Today the graph filter is a single text field, and pressing Esc wipes it out. This plugin changes that:

Action Vanilla Obsidian With Graph Filter Chips
Esc clears the whole filter just leaves the text field, keeps the text
Enter only re-applies the filter turns the text into a chip
Remove a term edit the raw text click the x on the chip

Features

  • Enter commits the current query as a chip.
  • Esc only blurs the field; the filter stays.
  • Each chip has an x to remove just that term.
  • Click a chip's label to pull it back into the input for editing.
  • Works on the global graph and on local graphs.
  • The filter keeps being saved normally in graph.json, so it survives restarts.

Why

The graph filter is easy to lose: a single stray Esc erases a carefully built query. Chips make the filter explicit, visible, and individually removable.

Installation

Community plugins (after it is published)

Settings → Community plugins → Browse → search for Graph Filter Chips → Install → Enable.

BRAT (beta)

  1. Install the BRAT plugin.
  2. Run BRAT: Add a beta plugin for testing and paste the repository URL.

Manual

Copy main.js, manifest.json, and styles.css into <your-vault>/.obsidian/plugins/graph-filter-chips/ and enable the plugin.

Usage

  1. Open the graph view and expand the Filters section.
  2. Type a query, for example path:"Projects", -file:home, or tag:idea.
  3. Press Enter to turn it into a chip.
  4. Press Esc any time to leave the field without losing what you typed.
  5. Click the x on a chip to remove that filter.

How it works

The plugin relies on a few stable graph internals:

  • The filter input is .graph-controls .setting-item.mod-search-setting input[type="search"].
  • Obsidian reads the effective value with engine.filterOptions.search.getValue() and applies it with engine.updateSearch().
  • Esc clearing the field is the native behavior of <input type="search"> in Chromium, not Obsidian's code.

The plugin overrides getValue/setValue on the filter instance only (chips become the source of truth) and intercepts keydown in the capture phase on an ancestor of the input, so its preventDefault runs before the native clear. Everything is restored when the plugin unloads.

Compatibility and caveats

  • Built and tested against Obsidian 1.12.7 (minAppVersion).
  • Because it hooks undocumented graph internals, a future Obsidian update could change these objects. The plugin fails gracefully (it simply stops attaching), but it may need maintenance. Issues and PRs are welcome.
  • A chip typed with spaces stays one chip in the session; after reload, the saved query is split back into chips on whitespace (outside quotes). The filtering result is identical.

Development

No build step, plain JavaScript.

# copy the plugin into a vault for live testing
./scripts/sync-to-vault.sh

Then reload Obsidian (Ctrl/Cmd + P → Reload app without saving).

License

MIT

HealthExcellent
ReviewPassed
About
Turn the graph view filter into removable chips to build and manage queries as distinct terms. Press Enter to commit the current query as a chip, press Esc to leave the field without clearing it, click a chip to edit or its x to remove a term; chips work on global and local graphs and persist across restarts.
SearchVisualizationInterface
Details
Current version
1.0.1
Last updated
3 weeks ago
Created
3 weeks ago
Updates
2 releases
Downloads
296
Compatible with
Obsidian 1.12.7+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Paulo ViannaPaulo Viannapaulean
GitHubthepaulean
  1. Community
  2. Plugins
  3. Search
  4. Graph Filter Chips

Related plugins

Hearth

A beautiful, heavily customizable home screen — dashboard, launchpad, mission control, homescreen, search - all in one. As simple or complex as you need.

Graph Banner

Display a local graph view to the note header

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Advanced Canvas

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

ExcaliBrain

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

Hider

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

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.

Meta Bind

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

Breadcrumbs

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

Tag Wrangler

Rename, merge, toggle, and search tags from the tag pane.