Function: EmbeddingView()
EmbeddingView(
props):Element
Defined in: embedding-view.tsx:109
Mount one coordinator-connected embedding view. viewOptions is a reactive thunk merged over the declarative props — read a per-mode palette inside it (theme, categoryColors, config.colorScheme) and a system theme flip re-skins the view in place. With name, the view's internal clause source registers in the producer registry (fields [x, y], kind "interval") so the inspector and the agent surface can name it, and a paired bindSelectionComponents region binding can adopt it.
Parameters
props
category?
string | null
0-indexed integer category column (see embedding-atlas docs).
class?
string
coordinator
filter?
EmbeddingSelectionLike | null
Selection filtering THIS view's points (usually the crossfilter).
identifier?
string | null
Unique-id column: selections then carry an identifier.
initialSelectionMode?
"marquee" | "lasso"
Start the view with a selection tool engaged — "marquee" (rectangle) or "lasso" — so a plain drag SELECTS instead of panning (shift+drag then pans). The component holds this state internally with no public prop (0.24 initializes it to "none"), so the wrapper presses the status bar's own toggle button — the same path a user's click takes. Needs the status bar (on by default). Read once per component build.
name?
string
rangeSelection?
EmbeddingSelectionLike | null
Selection the view's rectangle/lasso brush publishes into.
scope?
string | Scope
Producer-registry enrollment (with scope), like MosaicView's.
selection?
Selection | DataPoint[] | DataPointID[] | null
Selection (or value) for point picks — passed through verbatim.
table
string
The data table name (already loaded in the coordinator's DuckDB).
text?
string | null
Text column — tooltip content and automatic cluster labels.
tooltip?
Selection | DataPoint | DataPointID | null
Selection (or value) for the tooltip — passed through verbatim.
viewOptions?
() => Partial<EmbeddingViewMosaicProps>
Reactive extras merged last: theme, categoryColors, config, labels, callbacks… — anything from EmbeddingViewMosaicProps.
wheelZoom?
boolean
false disables wheel-zoom: wheel events are swallowed at the host in the capture phase, so they neither reach the component's canvas (no zoom) nor bubble to a scroll-interpreting shell (a slide deck doesn't navigate mid-hover either) — the view simply ignores the wheel. Default: the component's own behavior (wheel zooms). Read at mount.
x
string
X/Y projection column names.
y
string
Returns
Element