Skip to content

generateMermaidExecution

function generateMermaidExecution(params): MermaidExecutionOutput;

Defined in: src/execution.ts:1216

Generate a Mermaid execution overlay. Colours each state by its outcome and appends duration / retry annotations to state labels.

Note: Mermaid stateDiagram-v2 cannot style individual transitions, so taken-path highlighting is expressed through node colours and label annotations only (the SVG overlay from generateExecution dims untaken edges).

GenerateMermaidExecutionParams

MermaidExecutionOutput

MermaidExecutionOutput with Mermaid code and a per-status summary