Chizmo223 downloadsExtends the Bases Relation and Lookup properties into a visual diagram view, laying out notes as table-style nodes connected by relationship lines.
Turn any folder of notes into a relationship diagram — powered entirely by Bases and your own frontmatter. No proprietary file format, no separate database. Your notes are the data; Base Diagram just draws them.
Your notes stay the single source of truth. Base Diagram never stores your content anywhere else — it only reads what's already in your frontmatter.
Point Base Diagram at a folder, and it will:
related: "[[Other Note]]") as a relationshipThis is not a full ER-diagram tool with formal cardinality notation — it's a lightweight way to see how the notes in one folder relate to each other, using data you were probably already writing.
Base Diagram doesn't care what your notes are about — anything you can express as "this note relates to that note" works:
Obsidian's built-in graph view shows your entire vault, all the time, with no control over layout. Base Diagram is scoped and intentional instead:
| Graph view | Base Diagram | |
|---|---|---|
| Scope | Whole vault | One folder |
| Layout | Automatic | Manual, saved |
| Shows | Links exist | What's inside each note |
| Best for | Discovery, browsing | Designing, structuring |
In a folder, add a link-type frontmatter property to a note, e.g.:
---
related:
- "[[Some Other Note]]"
type: table
status: draft
---
Tip — adding properties in Live Preview: In Live Preview (Obsidian's default mode), typing
---or-by hand is treated as Markdown (a horizontal rule or a list), so the YAML won't come out right. Use one of these instead:
- Paste the whole YAML block above at the top of a note — it turns into properties automatically
- Or run Add file property, then type
[[in the value to pick a note
With a note in that folder open, run Open relation diagram from the command palette.
Drag boxes around to arrange them. Your layout is remembered.
Click Open note on any box to jump straight to it.
After restarting Obsidian, click the refresh button in the view's header to redraw the diagram — no need to rerun the command.
related (or whatever property you use for links) is not itself shown
as a property row — it becomes the arrow insteadAdd a color property to tint a note's box background:
color: blue
Supported values: red, blue, green, yellow, purple. Any other
value, or no value at all, falls back to the default background.
main.js, manifest.json, and styles.css from the
latest releaseYourVault/.obsidian/plugins/bases-relation-diagram/Base Diagram intentionally does not run an automatic graph layout. Once you place a note, it stays there — positions are saved per folder, so a layout you've arranged with meaning (a timeline, a hierarchy, groups of related notes) won't be reshuffled as your notes change.
Think of it less as a graph view and more as a relation board you build and maintain yourself.
See LICENSE.