diagram-preview

by BRNCX · ★ 0 · updated 2 days ago

PanesGuardsCommandsTools & agentsvalidates

0

Show Obsidian vault diagrams (.canvas, Excalidraw, draw.io, BPMN) as SVG in Claude Desktop side panes, with landscape/portrait and zoom

install diagram-preview

Install

git clone https://github.com/cbruyndoncx/claude-diagrams-renderer-mod
claude --plugin-dir ./claude-diagrams-renderer-mod

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runtool.callui.render
API calls
$.command.register$.env.get$.fs.exists$.fs.read$.fs.stat$.process.run$.state.get$.state.set$.tool.register$.ui.close$.ui.open$.ui.panes$.ui.resolve$.ui.toast
Draws
Pane
Can see
mcp__diagram-preview__open callsWrite|Edit calls
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processesdrives Claudereads filesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/cbruyndoncx/claude-diagrams-renderer-mod
Path in repo
repository root
Author
BRNCX @cbruyndoncx
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.