Skip to content

InstancedArrowsData

Defined in: core/backend.ts:121

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

optional bends?: Float32Array<ArrayBufferLike>

Defined in: core/backend.ts:133

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:131

RGBA bytes per arrow, length 4 * count.


count: number

Defined in: core/backend.ts:136


optional half?: boolean

Defined in: core/backend.ts:135

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:127

Target node radius per arrow (active sizeMode units), length count — the boundary setback.


sizes: Float32Array

Defined in: core/backend.ts:129

arrow size (active sizeMode units) per arrow, length count.


sources: Float32Array

Defined in: core/backend.ts:123

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


targets: Float32Array

Defined in: core/backend.ts:125

[x, y] target centre per arrow, length 2 * count; the tip is set back by radii in-shader.