Skip to content

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 href may be null, but only for an aggregate: a cluster standing for items left out (“12 more”), which sets truncated and has drillsInto: 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.

F = unknown

D = unknown

optional box?: ExplorerRect | null

Defined in: scene/types.ts:193

As ExplorerNode.box.


optional color?: ExplorerColour | null

Defined in: scene/types.ts:183

As ExplorerNode.color. An aggregate keeps the palette’s aggregate colour.


optional data?: D

Defined in: scene/types.ts:199

As ExplorerNode.data.


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.


optional effects?: ExplorerEffect[]

Defined in: scene/types.ts:187

As ExplorerNode.effects. Ignored on an aggregate.


optional emphasis?: "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.


optional kind?: string | null

Defined in: scene/types.ts:191

As ExplorerNode.kind.


label: string

Defined in: scene/types.ts:164

As ExplorerNode.label.


optional labelAt?: ExplorerPoint | null

Defined in: scene/types.ts:197

As ExplorerNode.labelAt.


optional marks?: string[]

Defined in: scene/types.ts:170

As ExplorerNode.marks.


optional outline?: ExplorerOutline | null

Defined in: scene/types.ts:195

As ExplorerNode.outline.


optional ramp?: number | null

Defined in: scene/types.ts:181

As ExplorerNode.ramp.


shape: ExplorerShape

Defined in: scene/types.ts:179

Usually "cloud".


optional sublabel?: string | null

Defined in: scene/types.ts:166

As ExplorerNode.sublabel.


optional texture?: ExplorerTexture | null

Defined in: scene/types.ts:189

As ExplorerNode.texture. A "cloud" ignores it.


optional truncated?: 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: number

Defined in: scene/types.ts:168

Sets the cluster’s size relative to the other clusters in its scene. Use a real count.