IBM Carbon Design System hierarchical tree for displaying recursive data structures — organisational charts, category hierarchies, nested permission models, BOM trees. More semantically general than file_tree which is file-system specific. Expanded/collapsed state set per node. Adapted from IBM Carbon TreeView component.
| Surface | Note |
|---|---|
| googlechat | renders as an indented plain text tree; no expand/collapse indicators |
| Field | Type | |
|---|---|---|
| title | string. Label above the tree panel. | optional |
| nodes | array. Recursive list of {label, icon?, expanded?, meta?, children?[]} node objects. | required |
{
"type": "tree_view",
"nodes": [
{
"label": "src/",
"children": [
{
"label": "index.ts"
}
]
},
{
"label": "package.json"
}
]
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:tree_view",
"displayName": "Tree View",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/tree_view",
"capabilities": [
"web",
"meet-stage",
"email",
"pdf",
"apps-script-web"
],
"description": "IBM Carbon Design System hierarchical tree for displaying recursive data structures \u2014 organisational charts, category hierarchies, nested permission models, BOM trees. More semantically general than file_tree which is file-system specific. Expanded/collapsed state set per node. Adapted from IBM Carbon TreeView component.",
"representativeQueries": [
"show a recursive hierarchical tree with expand/collapse per node",
"ibm carbon design system hierarchical tree for displaying recursive data structures \u2014 organisational",
"render a tree view"
]
}
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 →