diagramsmith
v0.4.3Draw Mermaid, hand-drawn and interactive HTML diagrams locally.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
render_mermaid
Render Mermaid diagram source to PNG or SVG in the output directory.
| Parameter | Type | Description |
|---|---|---|
source * | string | Mermaid diagram source text |
format | string | Output format (svg or png) |
name | string | Optional output filename base (sanitised with timestamp) |
theme | string | Optional Mermaid theme override |
render_diagram
Auto-layout and render an Excalidraw-style diagram spec JSON to PNG or SVG (plus editable .excalidraw).
| Parameter | Type | Description |
|---|---|---|
spec * | object | Diagram spec object (nodes, edges, groups, direction, title, etc.) |
format | string | Output format (png or svg) |
name | string | Optional output filename base (sanitised with timestamp) |
preset | string | Optional style preset |
render_interactive
Render a diagram spec JSON into a self-contained interactive HTML explorer.
| Parameter | Type | Description |
|---|---|---|
spec * | object | Diagram spec object (nodes, edges, groups, steps, inline drills) |
name | string | Optional output filename base (sanitised with timestamp) |
styles | string | Style presets to embed: "all" or a comma-separated list (e.g. "sketch,clean,midnight") |
list_styles
List the available diagram style presets and customizable style options.