export_diagram
Convert Draw.io XML diagrams to PNG, SVG, PDF, or JPEG images using the desktop CLI. Specify input and output paths to render diagram files.
Instructions
Export a .drawio XML diagram to PNG, SVG, PDF, or JPEG using desktop CLI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | png | |
| input_path | Yes | ||
| page_index | No | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |