render
Generate an SVG/HTML figure from a spec, Mermaid, or CSV; validate and audit it for overlapping labels, arrows through boxes, and spilled text, and write a receipt.
Instructions
Validate, draw, and audit one figure. Writes OUT.svg, OUT.html, and a receipt. ok false: read errors, change the spec or options, call again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | output path ending .html | |
| data | No | CSV text, inline | |
| path | No | or a spec/CSV file on disk | |
| spec | No | JSON spec, inline | |
| type | Yes | mermaid (data = Mermaid text), flow, arch, seq, schema, bar, line, scatter, geo, or any describe type | |
| options | No | CLI flags without dashes, e.g. {"x": "month", "y": "signups", "group": "product", "title": "...", "highlight": ["Atlas"]}. describe lists them. |