Skip to content

EdgeStyleOverride

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

Per-edge visual override applied on top of an edge’s computed style. Used by the execution overlay to emphasize taken transitions and dim untaken ones. All fields are optional — only specified fields are overridden.

The SVG renderer applies strokeOpacity as element opacity on the edge path, so the arrowhead dims with the line rather than staying at full strength.

stroke?: string;

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

Colour for the edge’s path, arrowhead and label


strokeOpacity?: number;

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

Opacity (0-1) of the edge’s path, arrowhead and label; used to dim transitions the run did not take


strokeWidth?: number;

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

Stroke width in pixels