Skip to content

Function: MosaicView()

MosaicView(props): Element

Defined in: mosaic.tsx:65

Mount one coordinator-connected vgplot view. The spec thunk is reactive: any signal it reads (theme palette, layout size) rebuilds the Plot against the surviving coordinator and selections; disposal disconnects every mark.

Parameters

props

class?

string

coordinator

MosaicCoordinator

name?

string

scope?

string | Scope

With name, register this view's interactors in the producer registry (mosaic-registry.ts) so the inspector and the agent surface can name them ("seismos/map"). Re-renders re-register; disposal unregisters.

spec

() => Directive[]

Returns

Element