Sankey Flow

Renders a flow diagram (Sankey flow) where left-hand source nodes connect to right-hand target nodes via beautiful, curved gradient Bezier bands.

Surfaces
webmeet-stageapps-script-web
Fields
FieldType
nodeslist of dictionaries representing columns (e.g., [{'id': 'revenue', 'label': 'Revenue', 'column': 0, 'color': '#10b981'}, ...])required
linkslist of dictionaries representing flows (e.g., [{'source': 'revenue', 'target': 'marketing', 'value': 25000, 'color': '#38bdf8'}, ...])required
titlestring (optional, title of the chart, e.g., 'Financial Flow Allocation')optional
Example payload
{
  "type": "sankey_flow",
  "nodes": [
    {
      "id": "a",
      "label": "Source"
    },
    {
      "id": "b",
      "label": "Target"
    }
  ],
  "links": [
    {
      "label": "GitHub",
      "url": "https://github.com/a2uicatalog/a2ui"
    }
  ]
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:sankey_flow",
  "displayName": "Sankey Flow",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/sankey_flow",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "Renders a flow diagram (Sankey flow) where left-hand source nodes connect to right-hand target nodes via beautiful, curved gradient Bezier bands.",
  "representativeQueries": [
    "show a curved dual-column gradient flow diagram for financial or pipeline streams",
    "renders a flow diagram (sankey flow) where left-hand source nodes connect to right-hand target nodes",
    "render a sankey flow"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

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 →