pigon68 downloadsVisualize Bases as an interactive graph using cascading rule tables to show both direct links and relations defined through connector notes.
A graph view for Obsidian Bases. Every note in the base becomes a node, and you decide — with simple rule tables — which links are drawn and how everything looks.
What makes it different from the core graph:
subjects: [[Anna Miller]], objects: [[Mark Lee]], relations: married becomes a labeled arrow Anna Miller → Mark Lee. Ordinary links between notes work too.
.base fileFrom Community plugins (once published): Settings → Community plugins → Browse, search for Bases Relations Graph, install and enable.
Manually: download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/bases-relations-graph/, then enable the plugin.
Beta versions: install with the BRAT plugin using this repository's URL.
.base file.The toolbar above the graph switches between the Graph and its Nodes, Links and Groups tables, and has buttons to fit the graph, freeze the layout and restart the simulation. In the tree layout it also shows orientation, root, undo/redo and reset buttons.
The demo-vault folder is a small, made-up network of family and friends: people in People, places and events in Places and Events, and relation notes in Relations (married, parent of, best friend, colleague…). Family graph.base has two ready-made views — Relations (force layout) and Tree (a family tree).
demo-vault.Family graph.base.A connector note links other notes through its properties:
---
subjects:
- "[[Robert Miller]]"
- "[[Helen Miller]]"
relations: parent of
objects:
- "[[Anna Miller]]"
- "[[Tom Miller]]"
---
The default Links table already contains a Connector notes row: subjects → objects, labeled with relations. The note above (from the demo vault) produces four arrows — from each parent to each child — all labeled parent of. Use any other property names by editing the row or adding new ones.
To keep connector notes themselves off the graph, add a row to the Nodes table with a condition that matches them (for example, file.inFolder("Relations") in the demo vault) and set Visibility to Hide.

The Nodes, Links and Groups tables are edited inside the view and saved in the .base file, so they travel with it. Groups are described in their own section.
Nodes and Links rows apply from top to bottom. A later row overrides earlier ones only in the fields it sets; — means inherit. Every row has a condition, so you can, for example, color all notes in a folder in one row and enlarge a few of them in the next.
0 in the center, 1, 2… stacked above the node, −1, −2… below it. Rows with different indexes add labels; rows with the same index override each other.Links not described by any row are not drawn.
Several rows that produce the same link are combined like node rows. For example, keep the Connector notes row and add rows with only a condition and a style:
| Condition | Style |
|---|---|
kind == "friend" |
Color: green |
kind == "colleague" |
Color: blue |
direction == "both" |
Arrow to source: on |
Conditions use the same building blocks as the Bases Filter tab: All / Any / None groups, operators that match the property type, and suggestions for folders, tags and existing property values. Any condition can also be written as a raw Bases expression.
Each row of the Groups table groups notes by a property, like Group by in Bases: every distinct value becomes its own group. A note can belong to groups from several rows.
Setting up
On the graph

Choose the layout in the view options.
A live force simulation. Center, repel and link forces, link distance and group forces are set in the view options.
The physics stops and nodes stay exactly where you put them — handy for arranging a map by hand.

Links are read as parent → child by their direction. Disconnected parts become separate trees.
| Action | Result |
|---|---|
| Click a node | Open the note |
| Double-click a node | Open the note in a new tab |
| Shift + click a node | Add to / remove from selection |
| Shift + drag on empty space | Selection box |
| Drag a node | Move it (or the whole selection) |
| Right-click a node or group | Context menu: open, pin, collapse group, tree actions |
| Wheel / pinch | Zoom |
| Drag empty space | Pan |
| Esc | Clear selection / close preview |
On mobile, long-press opens the context menu, and the selection-mode button in the toolbar turns taps into selection.
Node positions are remembered per view; pinned nodes stay fixed even in the force layout.
In Settings → Bases Relations Graph you can change the modifier keys used for selection, preview, threads and single-node tree moves, and assign hotkeys to graph actions. The same actions are available in the command palette: fit graph, toggle freeze, restart simulation, select all, clear selection, and tree undo, redo, choose root and reset.
Rendering uses WebGL (Pixi.js) and the simulation runs in a background worker. Graphs with thousands of nodes stay responsive; with tens of thousands, rebuilding the tree layout takes around a second.
The plugin makes no network requests. Rule tables are stored in your .base files; node positions, tree layouts and collapsed groups are stored in the plugin's data.