preview_diagram
Render one or more DGMO diagrams and open an HTML preview in the browser, with configurable theme, palette, and optional source display.
Instructions
Render one or more DGMO diagrams and open an HTML preview in the browser. Supports theme toggle and optional source display. For DGMO syntax call get_language_reference (e.g. color a label with a trailing color name: "Sales red").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagrams | Yes | One or more diagrams to preview | |
| theme | No | Color theme | dark |
| palette | No | Color palette | slate |
| include_source | No | Show DGMO source in collapsible blocks |