coras_render_diagram
Render CORAS .dgx diagrams to PNG or SVG using the editor's native renderer for pixel-identical output; returns the image inline and saves it to disk.
Instructions
Render a .dgx file to PNG or SVG using the editor's own renderer, so the image is pixel-identical to what the tool shows. Returns the picture inline and writes it to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | Output file, or a folder when rendering every diagram. Omit to use a temporary folder. | |
| path | Yes | The .dgx file to render. | |
| scale | No | Default 2.0. | |
| format | No | ||
| inline | No | Return the PNG in the reply (default true). | |
| diagram | No | Name or 0-based index of one diagram; omit for all of them. |