Skip to content

ExplorerEdgeStyle

Defined in: options.ts:95

How an edge is stroked. Widths and dashes are screen pixels, whatever the zoom.

optional alpha?: number

Defined in: options.ts:101

Opacity, 0 to 1, multiplied by the lower opacity of the edge’s two items; 0.5 by default.


optional arrow?: "none" | "start" | "end" | "both"

Defined in: options.ts:105

Arrowheads: at the targetId end ("end"), the sourceId end, both, or none (the default).


optional color?: ExplorerColour

Defined in: options.ts:97

Defaults to palette.label.


optional curve?: number

Defined in: options.ts:107

Bows the edge sideways by this fraction of its length: 0 is straight, 0.2 a gentle arc.


optional dash?: [number, number] | null

Defined in: options.ts:103

[dash, gap] in pixels, or null for a solid line.


optional width?: number

Defined in: options.ts:99

Line width in screen pixels; 1.5 by default.