SvgOutput
Defined in: src/types/index.ts:816
SVG diagram output
Properties
Section titled “Properties”height
Section titled “height”height: number;Defined in: src/types/index.ts:818
Height of the diagram in pixels
metadata
Section titled “metadata”metadata: object;Defined in: src/types/index.ts:821
Metadata about the generated diagram
edgeCount
Section titled “edgeCount”edgeCount: number;Number of edges (transitions) in the diagram
nodeCount
Section titled “nodeCount”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