Mayeenul Islam458 downloadsRenders modified DBML code blocks into interactive Entity Relationship Diagrams (ERDs).
Renders DBML code blocks into interactive ERD diagrams inside Obsidian.
DBML Visualizer converts dbml fenced code blocks into an interactive, pannable and zoomable ERD (Entity Relationship Diagram). Tables rendered from DBML can be dragged for custom layout; relations are drawn between columns.

Key features:
dbml/DBML code blocks to SVG ERDsTwo ways to install:
Community Plugins (recommended): Install via Obsidian's Community Plugins interface.
Manual (for testing):
main.js and manifest.json from a GitHub Release..obsidian/plugins/obsidian-dbml-visualizer/.Add a fenced code block with language dbml in a note. Example:
```dbml
Table users {
id int [pk]
name varchar
email varchar
}
Table orders {
id int [pk]
user_id int
total decimal
}
users.id <> orders.user_id
```
or,
```dbml
users {
id int [pk]
name varchar
email varchar
}
orders {
id int [pk]
user_id int
total decimal
}
users.id <> orders.user_id
```
You can pass title in the fence info string:
```dbml title="Customers ERD"
users {
id int [pk]
name varchar
email varchar
}
```
Notes:
users.id <> orders.user_id style relations (supports >, <, <>).dbml and DBML fences.Requirements:
Common commands (from the plugin root):
npm ci
npm run dev # build with inline sourcemaps (development)
npm run build # production build (runs esbuild with 'production' flag)
Built output: main.js (bundle produced by esbuild).
Mayeenul Islam
https://mayeenulislam.github.io/
The plugin was vibe-coded using free AI models with the knowledge of building BŪNŌN.
BŪNŌN — DBML ER Diagram visualizer
https://mayeenulislam.github.io/bunon/
This plugin is licensed under the MIT License — see LICENSE.