Repository navigation
D2 for Obsidian now uses the bundled D2.js compiler on desktop, iPhone, iPad, and Android. Install or update the D2 community plugin and open a note with a fenced D2 block to render it offline. Dagre, ELK, and TALA are included.
- Import D2 files from your vault on any device. For example,
...@sharedloadsshared.d2beside the note, and nested imports resolve relative to each imported file. - Select Recompile after changing an imported file. Save SVG preserves animated diagrams in your attachments.
- Existing layout, theme, padding, and sketch preferences carry forward. The executable path and legacy TALA token settings have been retired.
- sent from alixander's Codex