Skip to content

HtmlOutput

Defined in: src/types/index.ts:837

Self-contained interactive HTML diagram output.

height: number;

Defined in: src/types/index.ts:839

Height of the diagram in pixels.


html: string;

Defined in: src/types/index.ts:842

Complete, self-contained HTML document with an inline pan/zoom viewer.


metadata: object;

Defined in: src/types/index.ts:845

Metadata about the generated diagram.

diff?: DiffStateSummary;

Change summary, present when the document was rendered with a diff overlay.

edgeCount: number;

Number of edges (transitions) in the diagram.

execution?: ExecutionSummary;

Execution summary, present when the document was rendered with a history overlay.

nodeCount: number;

Number of state nodes in the diagram.


width: number;

Defined in: src/types/index.ts:860

Width of the diagram in pixels.