Skip to content

InstancedHalfArrowsData

Defined in: core/backend.ts:144

SoA for a batch of instanced half-arrow links (#104 N6) — the “map of networks” directed-link glyph: one filled shape per link, pinched to the source centre and ending in a barbed arrowhead on the target boundary, bowed around a shared centre curve (see network/half-link.ts). All world units.

bends: Float32Array

Defined in: core/backend.ts:154

Bend per link (absolute world-unit ⟂ offset; sign picks the bow side), length count.


colors: Uint8Array

Defined in: core/backend.ts:156

RGBA bytes per link, length 4 * count.


count: number

Defined in: core/backend.ts:159


radii: Float32Array

Defined in: core/backend.ts:150

[r0, r1] source/target node radii per link, length 2 * count (the tip lands on r1).


optional samples?: number

Defined in: core/backend.ts:158

Path samples (M) per bezier edge of the strip; a draw setting, not per-instance. Default 24.


sources: Float32Array

Defined in: core/backend.ts:146

[x, y] world source centre per link, length 2 * count.


targets: Float32Array

Defined in: core/backend.ts:148

[x, y] world target centre per link, length 2 * count.


widths: Float32Array

Defined in: core/backend.ts:152

[width, oppositeWidth] per link, length 2 * count (opposite width spaces the source foot).