Skip to content

NetworkOptions

Defined in: network/network.ts:13

Options for the network engine. Inherits sizing, backend, and tooltipClass.

optional aspectRatio?: number

Defined in: map/base-engine.ts:87

width ÷ height. When set, the engine is width-driven and keeps this ratio on resize.

BaseEngineOptions.aspectRatio


optional backend?: BackendType

Defined in: map/base-engine.ts:99

Which renderer to draw with — see BackendType. Defaults to "webgl". Use "auto" for an instant Canvas first paint that upgrades to WebGL in the background.

BaseEngineOptions.backend


optional height?: number

Defined in: map/base-engine.ts:85

BaseEngineOptions.height


optional tooltipClass?: string

Defined in: map/base-engine.ts:101

Class(es) for the hover tooltip box, replacing its default inline look.

BaseEngineOptions.tooltipClass


optional width?: number

Defined in: map/base-engine.ts:84

BaseEngineOptions.width