SVG architecture diagram hosted at a public URL
| Surface | Note |
|---|---|
| googlechat | SVG may not render — use PNG export instead |
| SVG support inconsistent across email clients — use PNG export |
| Field | Type | |
|---|---|---|
| url | string | required |
| caption | string | optional |
{
"type": "diagram",
"url": "https://example.com"
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:diagram",
"displayName": "Diagram",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/diagram",
"capabilities": [
"web",
"meet-stage",
"pdf",
"apps-script-web"
],
"description": "SVG architecture diagram hosted at a public URL",
"representativeQueries": [
"show a D2 or SVG architecture diagram",
"svg architecture diagram hosted at a public url",
"render a diagram"
]
}
The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.
git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →