Pins selected nodes in the global graph, making them static.
- Version:
0.1.0 - Requires: Obsidian
>= 0.12.0 - Main files:
main.js,manifest.json
- Pin/unpin: selected nodes, the hovered node, and the current note’s node.
- Reapply pins: manually and automatically on layout changes (
layout-change) and on a timer. - Ribbon icon for quick pin of selected nodes.
- Integration into Graph View context menu and the standard file menu (when invoked from Graph View).
- Status bar indicator showing how many nodes are pinned.
Pin selected graph nodesUnpin selected nodesPin hovered graph nodeToggle pin for current note’s nodeReapply pins on current graphUnpin all nodes
- A
pinicon that runsPin selected graph nodes.
Pin node/Unpin node— for the hovered node.Pin selected nodes— pin the current selection.Unpin selected— unpin the current selection.Reapply pins— reapply all saved pins.Unpin all nodes— remove all pins.
- Shows
Pin node/Unpin node,Pin selected nodes,Unpin selectedwhen opened from Graph View.
- Displays
SGN: {count} pinned— number of pinned nodes.
Auto reapply pins— reapply pins on graph open and periodically.Auto-check period (ms)— how often to reapply pins.Pinned nodes— showsCount: {n}and a buttonUnpin all.
- Create the folder
.obsidian/plugins/static-graph-nodes/in your vault. - Put
main.jsandmanifest.jsoninto that folder. - Restart Obsidian or enable the plugin in Settings → Community Plugins.
- The plugin locates the active Graph View and accesses its
renderer. - Pinning fixes the node position, posts a
forceNodemessage to the worker, setsfx/fy, and zeroes velocities. - Coordinates of pinned nodes are stored in the plugin settings and synchronized after drags.
- Pins are reapplied on
layout-changeand at the configured interval.
No graph is openMultiple graphs open; activate the one you needNo selected nodes on the graphPinned nodes: {n}/Unpinned nodes: {n}No hovered node/Node pinned/Failed to pin nodeNo active note/Pin removed/Failed to unpinUnpinned all nodes/Reapplied pins: {n}