renwujun31 downloadsSqueeze the native graph into a wide band using fixed top and bottom directional force areas.
Give your Obsidian graph more room to spread sideways. Two invisible horizontal force areas gently push nodes inward from above and below.

Desktop only.
Open the Community Directory listing and select Add to Obsidian. If it is not available in your app yet, use manual installation below.
main.js and manifest.json from the latest release and place them in your vault’s .obsidian/plugins/graph-squeeze/ folder.| Setting | Default | Range / behavior |
|---|---|---|
| Barrier distance | 80,000 | Gap between barriers; 0–80,000 graph units |
| Edge softness | 10,000 | Distance from zero to full force; 0–40,000 graph units, limited to half the gap |
| Maximum barrier force | 10 | Push strength; 0–1,000. Zero disables the push |
| Barrier force visualizer | Off | Shows force areas; weaker force is more transparent |
Reduce the barrier distance for a narrower band. Increase softness for a gentler transition. Nodes can move beyond the soft boundaries.
Uses private Obsidian graph internals, so Obsidian updates may require a plugin update. Patches an in-memory copy of the local graph worker; no application files are modified.
The plugin reads Obsidian’s bundled sim.js outside your vault through the local app:// protocol to add the barrier forces. The scanner counts this fetch call as a network request, but it contacts no remote service and sends no notes or other data over the internet. No telemetry is collected.
npm ci
npm run lint
npm run package
Output: dist/graph-squeeze/.