Skip to content

HtmlOutput

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

Self-contained interactive HTML diagram output.

height: number;

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

Height of the diagram in pixels.


html: string;

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

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


metadata: object;

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

Metadata about the generated diagram.

optional diff?: DiffStateSummary;

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

edgeCount: number;

Number of edges (transitions) in the diagram.

optional 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:710

Width of the diagram in pixels.