ExplorerCluster
Defined in: scene/types.ts:160
A group in a scene: a folder, a department, a package. Drawn as a soft cloud, usually entered to see what is inside. It shares a node’s fields, with two differences:
- its
hrefmay benull, but only for an aggregate: a cluster standing for items left out (“12 more”), which setstruncatedand hasdrillsInto: null. An aggregate is drawn hollow, cannot be entered, and the outline says “showing N of M”; - it is sized against the other clusters, and always drawn at least twice the size of the largest node in its scene.
Type Parameters
Section titled “Type Parameters”F = unknown
D = unknown
Properties
Section titled “Properties”
optionalbox?:ExplorerRect|null
Defined in: scene/types.ts:193
As ExplorerNode.box.
color?
Section titled “color?”
optionalcolor?:ExplorerColour|null
Defined in: scene/types.ts:183
As ExplorerNode.color. An aggregate keeps the palette’s aggregate colour.
optionaldata?:D
Defined in: scene/types.ts:199
As ExplorerNode.data.
drillsInto
Section titled “drillsInto”drillsInto:
F|null
Defined in: scene/types.ts:174
The focus this group opens when entered; null for an aggregate or a group with nothing inside.
effects?
Section titled “effects?”
optionaleffects?:ExplorerEffect[]
Defined in: scene/types.ts:187
As ExplorerNode.effects. Ignored on an aggregate.
emphasis?
Section titled “emphasis?”
optionalemphasis?:"ring"[]
Defined in: scene/types.ts:185
As ExplorerNode.emphasis.
href:
string|null
Defined in: scene/types.ts:172
The group’s own page, or null only for an aggregate (see above).
id:
string
Defined in: scene/types.ts:162
As ExplorerNode.id.
optionalkind?:string|null
Defined in: scene/types.ts:191
As ExplorerNode.kind.
label:
string
Defined in: scene/types.ts:164
As ExplorerNode.label.
labelAt?
Section titled “labelAt?”
optionallabelAt?:ExplorerPoint|null
Defined in: scene/types.ts:197
As ExplorerNode.labelAt.
marks?
Section titled “marks?”
optionalmarks?:string[]
Defined in: scene/types.ts:170
As ExplorerNode.marks.
outline?
Section titled “outline?”
optionaloutline?:ExplorerOutline|null
Defined in: scene/types.ts:195
As ExplorerNode.outline.
optionalramp?:number|null
Defined in: scene/types.ts:181
As ExplorerNode.ramp.
shape:
ExplorerShape
Defined in: scene/types.ts:179
Usually "cloud".
sublabel?
Section titled “sublabel?”
optionalsublabel?:string|null
Defined in: scene/types.ts:166
As ExplorerNode.sublabel.
texture?
Section titled “texture?”
optionaltexture?:ExplorerTexture|null
Defined in: scene/types.ts:189
As ExplorerNode.texture. A "cloud" ignores it.
truncated?
Section titled “truncated?”
optionaltruncated?:ExplorerTruncation|null
Defined in: scene/types.ts:177
Set only on an aggregate standing for items left out (use windowed()); absent or null
means this cluster is complete.
weight
Section titled “weight”weight:
number
Defined in: scene/types.ts:168
Sets the cluster’s size relative to the other clusters in its scene. Use a real count.