Skip to content

Type Alias: InteractionMode

ts
type InteractionMode = "pan" | "box" | "box-x" | "box-y";

Defined in: types.ts:79

Pointer interaction modes:

  • pan drag pans the view, wheel zooms both axes
  • box drag selects a rectangle and zooms into it (both axes)
  • box-x drag selects an x-range only (full height band) — X-only zoom
  • box-y drag selects a y-range only (full width band) — Y-only zoom

MIT licensed. WebGL2 required.