generate_mermaid_svg
Convert Mermaid diagram syntax to SVG files with customizable themes and background colors for visual documentation.
Instructions
Generate SVG content from Mermaid diagram syntax and save it to a file. This tool renders Mermaid diagrams to SVG format with customizable themes and background colors, always saving the result as an SVG file.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mermaid | Yes | The mermaid diagram syntax to be rendered as SVG | |
| theme | No | Theme for the diagram | default |
| backgroundColor | No | Background color for the diagram (CSS color value) | white |
| filename | No | Optional filename for the SVG file (without extension) |