InstancedArrowsData
Defined in: core/backend.ts:152
SoA for a batch of instanced triangle arrowheads (directed-link tips).
Properties
Section titled “Properties”bends?
Section titled “bends?”
optionalbends?:Float32Array<ArrayBufferLike>
Defined in: core/backend.ts:164
Optional per-arrow bend (#104 N6c), matching the link’s, so the head aligns with the bent end tangent.
colors
Section titled “colors”colors:
Uint8Array
Defined in: core/backend.ts:162
RGBA bytes per arrow, length 4 * count.
count:
number
Defined in: core/backend.ts:173
groups?
Section titled “groups?”
optionalgroups?:Float32Array<ArrayBufferLike>
Defined in: core/backend.ts:168
Per-instance highlight group (#162): the arrow’s source node id. Length count.
groups2?
Section titled “groups2?”
optionalgroups2?:Float32Array<ArrayBufferLike>
Defined in: core/backend.ts:170
The other endpoint (target) id for undirected hover (#162); -1/absent when unused. Length count.
optionalhalf?:boolean
Defined in: core/backend.ts:166
Draw a one-sided half arrowhead (#104 N6c) — for bent map links, so reciprocal heads don’t collide.
radii:
Float32Array
Defined in: core/backend.ts:158
Target node radius per arrow (active sizeMode units), length count — the boundary setback.
selected?
Section titled “selected?”
optionalselected?:Uint8Array<ArrayBufferLike>
Defined in: core/backend.ts:172
Per-instance selected flag (0/1) for shader-driven dim/recolour (#162). Length count.
sizes:
Float32Array
Defined in: core/backend.ts:160
arrow size (active sizeMode units) per arrow, length count.
sources
Section titled “sources”sources:
Float32Array
Defined in: core/backend.ts:154
[x, y] source centre per arrow (for orientation), length 2 * count.
targets
Section titled “targets”targets:
Float32Array
Defined in: core/backend.ts:156
[x, y] target centre per arrow, length 2 * count; the tip is set back by radii in-shader.