| BackendHandle | - |
| BaseEngineOptions | Options every engine shares, owned and consumed once by the BaseEngine constructor. Each engine’s options type (e.g. GeoMapOptions, PlotOptions) extends this and adds only its own fields, so a base-level setting is declared in exactly one place and can’t drift or be silently dropped by an engine that forgot to wire it. |
| DataLabelOptions | Engine-owned text labels for plot() / geoMap() (#223) — the data-driven analogue of network.labels(). You supply the data and d3-style accessors; the engine measures each label’s text once (no magic-number metrics), places + culls collisions on every pan/zoom (the shared LabelLayer machinery), and routes to the active backend — an HTML overlay on WebGL, native <text>/fillText on SVG/Canvas so labels survive toSVG()/toPNG() export. Styling mirrors network.labels(): a built-in default look, an inline style override, or a full-CSS className. Plain labels are vertically centred on the anchor (offset sits them beside the glyph); set rotationOf for the oriented (rotated) model. |
| EngineSizing | How an engine is sized. Sizing is responsive by default — the engine observes its host and resizes in place (no teardown), preserving layers, view, and interaction state: |
| GeoMapOptions | Options every engine shares, owned and consumed once by the BaseEngine constructor. Each engine’s options type (e.g. GeoMapOptions, PlotOptions) extends this and adds only its own fields, so a base-level setting is declared in exactly one place and can’t drift or be silently dropped by an engine that forgot to wire it. |
| HighlightStyle | Style for highlight-overlay geometry. Unlike bulk StyleOverrides, lineWidth IS allowed: only one item is re-tessellated per hover change. |
| HoverHit | - |
| HoverOptions | Hover styling (#162), symmetric with SelectionOptions: hovered = how the hovered item looks (a HighlightStyle redraw / custom draw fn on Scene layers; on instanced lanes the ring uses its stroke), others = fade the non-hovered glyphs — the hover analogue of selection.others, opt-in. The layer hover option accepts either this object OR a bare HoverOption (the flat forms: true / a style / a draw fn) for the common “just style the hovered item” case. |
| InteractiveLayerOptions | Declarative interaction options shared by every engine’s retained layers. The machinery (hover overlay, tooltip, selection styling, hit-testing) lives entirely in BaseEngine — these options are just the per-layer surface that both BaseEngine.select’s and the hover/tooltip dispatch read. Plot.layer()/Plot.points() and GeoMap.layer() forward them into the LayerSpec via BaseEngine.interactionFields, so the contract has one home. |
| LayerOptions | Declarative interaction options shared by every engine’s retained layers. The machinery (hover overlay, tooltip, selection styling, hit-testing) lives entirely in BaseEngine — these options are just the per-layer surface that both BaseEngine.select’s and the hover/tooltip dispatch read. Plot.layer()/Plot.points() and GeoMap.layer() forward them into the LayerSpec via BaseEngine.interactionFields, so the contract has one home. |
| PlotLayerOptions | Declarative interaction options shared by every engine’s retained layers. The machinery (hover overlay, tooltip, selection styling, hit-testing) lives entirely in BaseEngine — these options are just the per-layer surface that both BaseEngine.select’s and the hover/tooltip dispatch read. Plot.layer()/Plot.points() and GeoMap.layer() forward them into the LayerSpec via BaseEngine.interactionFields, so the contract has one home. |
| PlotOptions | Plot adds no engine-level options of its own — all of BaseEngineOptions (sizing, backend, tooltipClass) apply. |
| PlotPointOptions | Declarative interaction options shared by every engine’s retained layers. The machinery (hover overlay, tooltip, selection styling, hit-testing) lives entirely in BaseEngine — these options are just the per-layer surface that both BaseEngine.select’s and the hover/tooltip dispatch read. Plot.layer()/Plot.points() and GeoMap.layer() forward them into the LayerSpec via BaseEngine.interactionFields, so the contract has one home. |
| SelectionOptions | Styles for select(): the selected set and its complement. Defaults: selected keeps the base style (items stand out because the others dim); others is { opacity: 0.3 }. |
| StyleOverride | Bulk per-drawable style override, composed over the base colors the layer’s fill/stroke accessors produce. Colors only — stroke geometry has its width baked in at tessellation time, so a bulk width change would be O(n) re-tessellation (widths are available in the single-item highlight overlay instead). |