Skip to main content

Interface: ConnectionStyleOptions

Defined in: src/mobjects/ml/mlStyles.ts:24

Visual style for a connection line (an edge) between two nodes.

Properties​

color?​

optional color: string

Defined in: src/mobjects/ml/mlStyles.ts:26

Stroke color as a CSS color string.


opacity?​

optional opacity: number

Defined in: src/mobjects/ml/mlStyles.ts:30

Resting stroke opacity from 0 to 1, before a forward pass activates it.


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/ml/mlStyles.ts:28

Stroke width in pixels.