/ diagrams
Dashboard
Editor
API
Open editor
fig. 0.2 · api playground
POST
/api/v1/render
Accepts canonical Diagram IR JSON and returns deterministic SVG vector output.
send request
request · json
1039 bytes
{ "document": { "schemaVersion": "1.0", "rendererVersion": "1.0.0", "theme": "editorial-dark", "nodes": [ { "id": "gw", "type": "api_gateway", "position": { "x": 0, "y": 0 }, "data": { "title": "Gateway" } }, { "id": "ord", "type": "service", "position": { "x": 0, "y": 0 }, "data": { "title": "Orders" } }, { "id": "pg", "type": "database", "position": { "x": 0, "y": 0 }, "data": { "title": "Postgres" } } ], "edges": [ { "source": "gw", "target": "ord" }, { "source": "ord", "target": "pg" } ], "groups": [], "annotations": [], "metadata": { "title": "Three-tier", "description": "minimal example", "tags": [] } }, "theme": "editorial-dark" }
response
awaiting request…
↳ click "send request" to compile