get_diagram
Read a diagram back in a chosen format: svg-interactive to show it, json to reason over its full graph with positions and notes.
Instructions
Read a diagram back: format='svg-interactive' to show it, 'json' to reason about it.
Formats: 'svg-interactive' (canvas drawing in a pan/zoom shell -- the one to SHOW), 'svg' (same drawing as a plain file, to attach or link), 'mermaid' (portable, but re-lays out and DISCARDS the arrangement the user made), 'text' (the prose projection), 'json' (the full graph with positions, notes and links -- the only round-trippable one, and the one to reason over).
Both SVG formats write the markup to a file and return its path plus a
thin index of the steps; the payload is deliberately too small to draw
from. The returned next_step says what to do with the path, at the
point where it matters. help(command='get_diagram') has the rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| format | No | mermaid |