Skip to main content

Interface: NodeStyleOptions

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

Visual style for a single node (a circle, a feature-map square, a grid).

Properties​

color?​

optional color: string

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

Stroke color as a CSS color string.


fillColor?​

optional fillColor: string

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

Fill color as a CSS color string. Defaults to color.


fillOpacity?​

optional fillOpacity: number

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

Fill opacity from 0 to 1.


strokeWidth?​

optional strokeWidth: number

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

Stroke width in pixels.