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.
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.
First, you must display the state management bar.
- Configure your graph as desired
- Click the "add" icon
- Provide a name for your state
- Confirm to save
- Select a previously saved state from the state menu
- The graph will update to match the saved configuration
- Load an existing state
- Make your modifications
- Click the save icon to update the state
- Changes will overwrite the previous configuration
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.
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.
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.