Renderizar diagrama
render_diagramRender diagrams from source code using Kroki. Supports Mermaid, Graphviz, PlantUML, D2, and ERD, returning file path and base64.
Instructions
Renderiza source con Kroki. Engines: mermaid, graphviz (DOT), plantuml, d2, erd. Devuelve path del archivo y base64 (recortado en text si es grande).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | mermaid | |
| format | No | png | |
| source | Yes | ||
| outputPath | No | Ruta de salida; default /tmp/diagram-studio/<timestamp>.<fmt> |