Action that composes multiple SVG visualizations into a single infographic.

This action takes multiple SVG panels and arranges them in a grid layout with optional header, footer, and styling. Designed for AI agents to create comprehensive visual reports combining multiple charts, diagrams, and networks.

Example

await runAction({
ActionName: 'Create SVG Infographic',
Params: [
{
Name: 'Spec',
Value: JSON.stringify({
title: 'Q4 2024 Analysis Report',
subtitle: 'Performance Metrics and Trends',
columns: 2,
panels: [
{
svg: '<svg>...</svg>', // From Create SVG Chart action
title: 'Revenue by Quarter',
colSpan: 1
},
{
svg: '<svg>...</svg>', // From Create SVG Diagram action
title: 'Organization Structure',
colSpan: 1
}
],
footer: 'Generated by MemberJunction Infographic System'
})
}
]
});

Hierarchy (view full)

Constructors

Methods

  • Executes the action with the provided parameters.

    Parameters

    • params: RunActionParams<any>

      The action execution parameters including context

    Returns Promise<ActionResultSimple>

    Promise resolving to the action result