generateExecutionHtmlAsync
function generateExecutionHtmlAsync(params): Promise<ExecutionHtmlOutput>;Defined in: src/html.ts:634
Generate a fully offline interactive HTML execution overlay from an ASL definition and execution history.
Identical to generateExecutionHtml, except AWS service icons are fetched
once and inlined as base64 data URIs, so the document has no external references
even with showIcons: true. A thin wrapper over generateHtmlAsync({ history }).
Parameters
Section titled “Parameters”params
Section titled “params”Any additional DiagramOptions
Returns
Section titled “Returns”Promise<ExecutionHtmlOutput>
Promise resolving to ExecutionHtmlOutput with the HTML document and a per-status summary
Example
Section titled “Example”import { generateExecutionHtmlAsync } from 'sfn-diagram';const { html } = await generateExecutionHtmlAsync({ aslDefinition: asl, history: events, showIcons: true,});