Skip to content

InstancedArrowsData

Defined in: core/backend.ts:152

SoA for a batch of instanced triangle arrowheads (directed-link tips).

optional bends?: 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: Uint8Array

Defined in: core/backend.ts:162

RGBA bytes per arrow, length 4 * count.


count: number

Defined in: core/backend.ts:173


optional groups?: Float32Array<ArrayBufferLike>

Defined in: core/backend.ts:168

Per-instance highlight group (#162): the arrow’s source node id. Length count.


optional groups2?: Float32Array<ArrayBufferLike>

Defined in: core/backend.ts:170

The other endpoint (target) id for undirected hover (#162); -1/absent when unused. Length count.


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


optional selected?: 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: Float32Array

Defined in: core/backend.ts:154

[x, y] source centre per arrow (for orientation), length 2 * count.


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.