Skip to content

API Reference parrot.flows.thales.nodes.infographic

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

parrot.flows.thales.nodes.infographic

View source

InfographicNode — executive summary + decks -> infographic (FEAT-425 Module 3).

Calls InfographicToolkit.render_template (FEAT-308 pattern — works for ANY agent, no pandas REPL required). Failures degrade gracefully: logged and the node returns None rather than raising, since infographic is Optional on ThalesResult (spec G7) and must never abort the run.

Alias AgentTaskMachine

Re-exported from parrot.bots.flows.core.fsm.AgentTaskMachine.

Alias DependencyResults

Re-exported from parrot.bots.flows.core.types.DependencyResults.

Alias FlowContext

Re-exported from parrot.bots.flows.core.context.FlowContext.

Class InfographicNode

Fan-in: executive summary + decks -> InfographicRenderResult (or None).

Attributes:

Attribute Type Description
node_id str
toolkit Any
template_name str
title Optional[str]
exec_summary_node_id str
dependencies Set[str]
successors Set[str]
fsm Optional[AgentTaskMachine]
name str Node identifier.

Method InfographicNode.model_post_init

Auto-create FSM and call parent hook (initialises self.logger).

model_post_init(__context: Any) -> None

Parameter Type Default Description
__context Any

Method InfographicNode.execute

Render the summary infographic, degrading to None on failure.

execute(ctx: FlowContext, deps: DependencyResults, **kwargs: Any) -> Optional[Any]

Parameter Type Default Description
ctx FlowContext The current flow execution context (unused directly).
deps DependencyResults Mapping with the exec-summary string (keyed by exec_summary_node_id) plus every deck's JSON output.
**kwargs Any {}

Returns: Optional[Any] — The toolkit's InfographicRenderResult, or None when rendering failed (logged, never raised).

Alias Node

Re-exported from parrot.bots.flows.core.node.Node.

Alias register_thales_node

Re-exported from parrot.flows.thales.nodes.registry.register_thales_node.

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