Skip to content

API Reference parrot.outputs.a2ui.catalog.parrot.infographic

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.outputs.a2ui.catalog.parrot.infographic

View source

A2UI Infographic composite catalog component (Module 5, FEAT-470 TASK-2539).

Infographic is one of Parrot's "exceeds-the-spec" semantic citizens: a header plus an ordered list of sections, each hosting nested catalog components (KPICard rows, Chart, Text/Image blocks). Vocabulary is inspired by the legacy InfographicHTMLRenderer (header / stat blocks / chart slots / themed sections) — inspiration only, no code reuse. Display-only (requires_actions=False).

Composite lowering delegates nested catalog children to their own registered lower() via the catalog registry, keeping the whole composite deterministic as long as every child lowering is pure. Multiple sections lower to Tabs (one tab per section); a single section lowers to a plain Column.

Alias BasicNode

Re-exported from parrot.outputs.a2ui.catalog.base.BasicNode.

Alias BasicTree

Re-exported from parrot.outputs.a2ui.catalog.base.BasicTree.

Alias CatalogValidationError

Re-exported from parrot.outputs.a2ui.catalog.base.CatalogValidationError.

Alias Component

Re-exported from parrot.outputs.a2ui.models.Component.

Attribute INFOGRAPHIC_INSTRUCTIONS

Attribute INFOGRAPHIC_SCHEMA

Type: dict[str, Any]

Class InfographicComponent

The Infographic composite catalog component (display-only).

Method InfographicComponent.lower

Lower an Infographic to a Basic Catalog Card tree.

lower(component: Component, data_model: dict[str, Any]) -> BasicTree

Parameter Type Default Description
component Component
data_model dict[str, Any]

Returns: BasicTree

Alias TabSpec

Re-exported from parrot.outputs.a2ui.catalog.base.TabSpec.

Alias get_component

Re-exported from parrot.outputs.a2ui.catalog.get_component.

Alias register_component

Re-exported from parrot.outputs.a2ui.catalog.register_component.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally