InstancedCirclesData
Defined in: core/backend.ts:98
SoA for a batch of instanced circles (e.g. network nodes). Plain typed arrays.
Properties
Section titled “Properties”borderColors?
Section titled “borderColors?”
optionalborderColors?:Uint8Array<ArrayBufferLike>
Defined in: core/backend.ts:111
Optional RGBA ring colour bytes per circle, length 4 * count. Paired with borders.
borders?
Section titled “borders?”
optionalborders?:Float32Array<ArrayBufferLike>
Defined in: core/backend.ts:109
Optional flow-border ring (#104 N6): per-circle thickness as a fraction of the radius
(0/absent ⇒ no ring, a plain filled disc), length count.
centers
Section titled “centers”centers:
Float32Array
Defined in: core/backend.ts:100
[x, y] world coords per circle, length 2 * count.
colors
Section titled “colors”colors:
Uint8Array
Defined in: core/backend.ts:104
RGBA bytes per circle, length 4 * count.
count:
number
Defined in: core/backend.ts:117
groups?
Section titled “groups?”
optionalgroups?:Float32Array<ArrayBufferLike>
Defined in: core/backend.ts:114
Optional per-instance group id for shader-driven highlight (#162): the node id a circle is,
so the vertex shader can match u_hoverGroup / index the selected set. Length count.
radii:
Float32Array
Defined in: core/backend.ts:102
radius per circle, length count.
selected?
Section titled “selected?”
optionalselected?:Uint8Array<ArrayBufferLike>
Defined in: core/backend.ts:116
Optional per-instance selected flag (0/1) for shader-driven dim/recolour (#162). Length count.