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

Local Graph Depth

Chandra SivaramanChandra Sivaraman38 downloads

Open local graph views at a configurable default depth.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Local graph views always open at depth 1, with the controls panel in the way. This plugin opens them at a depth you choose, with the controls collapsed.

Behavior

  • A local graph you open gets your configured depth, and its controls panel starts collapsed.
  • A pane restored from the saved workspace keeps the depth and controls state it was saved with.
  • Moving the depth slider in the plugin settings re-depths every open local graph at once.
  • Otherwise what you set by hand wins. The plugin touches each pane once as it opens, and applies a depth only when the pane is still at Obsidian's default of 1.

Settings

Default depth — a slider from 1 to 5, the same range as the depth slider in the local graph controls. The default is 2. Set it to 1 to leave newly opened graphs alone.

Collapse the graph controls — hides the settings panel when a local graph opens. The gear icon brings it back. On by default.

Installation

From the community plugin list

Settings → Community plugins → Browse → search for "Local Graph Depth" → Install → Enable.

Manual

  1. Download main.js and manifest.json from the latest release.
  2. Put both in <vault>/.obsidian/plugins/local-graph-depth/.
  3. Reload Obsidian, then enable the plugin in Settings → Community plugins.

How it works

A local graph view carries its settings in the options object of its view state: localJumps holds the depth, close collapses the controls panel. On each layout change the plugin looks for local graph panes it has not seen, and writes the keys it wants through view.setState(). The view hands those keys to its graph engine, which is the same route the depth slider and the close button take, so the controls, the options and the rendered graph all stay in step.

Only getState() and setState() are used, both public API. The options keys themselves are undocumented, but they are the format Obsidian persists in workspace.json. If a future release renames them the plugin stops applying its defaults, and fails quietly: the graph still opens, at depth 1.

Tested against Obsidian 1.8.4.

License

MIT

HealthExcellent
ReviewPassed
About
Open local graphs at a configurable depth and start with their controls panel collapsed. Apply the configured depth to newly opened graphs and re-depth all open local graphs at once, while restored panes keep their saved depth and controls state.
VisualizationWorkspaces
Details
Current version
1.0.0
Last updated
Last week
Created
Last week
Updates
1 release
Downloads
38
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Chandra SivaramanChandra Sivaramancs31415
GitHubcs31415
  1. Community
  2. Plugins
  3. Visualization
  4. Local Graph Depth

Related plugins

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Advanced Canvas

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

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Breadcrumbs

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

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Vertical Tabs

Offer an alternative view that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.

Mermaid Tools

Improved Mermaid.js experience: visual toolbar with common elements and more.

Open Tab Settings

Adds options to customize how tabs are opened, including open in new tab by default, preventing duplicate tabs, and more.

ExcaliBrain

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

Persistent Graph

Save and restore the positions of nodes on your graph.