Skip to content

SvgOutput

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

SVG diagram output

height: number;

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

Height of the diagram in pixels


metadata: object;

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

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:680

Complete SVG markup as a string


width: number;

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

Width of the diagram in pixels