Interactive collapsible decision tree with nested branches
| Field | Type | |
|---|---|---|
| nodes | array of {text, children: [{text, children}]} — nested tree nodes | required |
| title | string | optional |
{
"type": "decision_tree",
"nodes": [
{
"label": "src/",
"children": [
{
"label": "index.ts"
}
]
},
{
"label": "package.json"
}
]
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:decision_tree",
"displayName": "Decision Tree",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/decision_tree",
"capabilities": [
"apps-script-web"
],
"description": "Interactive collapsible decision tree with nested branches",
"representativeQueries": [
"show a interactive collapsible decision tree",
"interactive collapsible decision tree with nested branches",
"render a decision tree"
]
}
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 →