Skip to content

Interface: PairFacetBinding

Defined in: mosaic-facet.ts:77

Bind TWO interval dimensions jointly to one 2-D component (a map box, an embedding view's region). Transforms are required — the joint mapping is never the identity. For a vgplot 2-D interactor, to must return a full [[x0,x1],[y0,y1]] box or null (a 2-D brush cannot be one-sided); for a self-driving producer (AIUI_DRIVE) it returns whatever value shape the component's own drive hook expects (an embedding-atlas Rectangle). from returns the pair of semantic values in dims order.

Properties

dims

dims: readonly [SelectionDim<IntervalValue>, SelectionDim<IntervalValue>]

Defined in: mosaic-facet.ts:78


from

from: (cv) => readonly [IntervalValue, IntervalValue]

Defined in: mosaic-facet.ts:81

Parameters

cv

unknown

Returns

readonly [IntervalValue, IntervalValue]


producer

producer: string

Defined in: mosaic-facet.ts:79


to

to: (a, b) => unknown

Defined in: mosaic-facet.ts:80

Parameters

a

IntervalValue

b

IntervalValue

Returns

unknown