Skip to main content

Interface: VertexStyleOptions

Defined in: mobjects/graph/graphTypes.ts:35

Options for vertex styling

Properties

color?

optional color: string

Defined in: mobjects/graph/graphTypes.ts:39

Fill color of the vertex. Default: WHITE


fillOpacity?

optional fillOpacity: number

Defined in: mobjects/graph/graphTypes.ts:41

Fill opacity. Default: 1


radius?

optional radius: number

Defined in: mobjects/graph/graphTypes.ts:37

Radius of the vertex dot. Default: 0.15


strokeColor?

optional strokeColor: string

Defined in: mobjects/graph/graphTypes.ts:43

Stroke color for the vertex border. Default: same as color


strokeWidth?

optional strokeWidth: number

Defined in: mobjects/graph/graphTypes.ts:45

Stroke width. Default: 2