Skip to content

SvgOutput

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

SVG diagram output

height: number;

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

Height of the diagram in pixels


metadata: object;

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

Metadata about the generated diagram

edgeCount: number;

Number of edges (transitions) in the diagram

nodeCount: number;

Number of state nodes in the diagram


svg: string;

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

Complete SVG markup as a string


width: number;

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

Width of the diagram in pixels