Graph States - ElsaTam/obsidian-extended-graph GitHub Wiki

Graph states allow you to save and restore specific configurations of your graph view. This is essential for maintaining consistent visualizations across sessions.

What Gets Saved

A graph state includes:

  • Disabled tags
  • Disabled properties
  • Disabled link types
  • Enabled folders
  • Pinned node positions
  • Core graph settings (search filter is not saved)

[!IMPORTANT] Manual Saving Required!

Changes to your graph configuration are not automatically saved. You must explicitly save your changes by clicking the save icon to preserve your current state.

Managing States

First, you must display the state management bar.

open state settings

Saving a New State

add state

  1. Configure your graph as desired
  2. Click the "add" icon
  3. Provide a name for your state
  4. Confirm to save

Loading States

  • Select a previously saved state from the state menu
  • The graph will update to match the saved configuration

Updating States

update state

  1. Load an existing state
  2. Make your modifications
  3. Click the save icon to update the state
  4. Changes will overwrite the previous configuration

Starting state

By default, when enabling the extended graph view, no state is applied. You can change that in the plugin settings, with the "Starting state" dropdown.

Notes

Changing the default state

The default state is protected and cannot be modified through regular saving or deletion. However, you can update its core settings using the "Save for default state" button found in the graph controls.

Save for default state

When plugin is disabled

When you disable the plugin, the graph view reverts to its original settings - the ones that were in place before the plugin was enabled. If you want to preserve your current graph settings for use without the plugin, use the "Save for normal state" button in the graph controls. These settings will then become your new baseline when using the graph view without the plugin.