InstancedHalfArrowsData
Defined in: core/backend.ts:181
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.
Properties
Section titled “Properties”bends:
Float32Array
Defined in: core/backend.ts:191
Bend per link (absolute world-unit ⟂ offset; sign picks the bow side), length count.
colors
Section titled “colors”colors:
Uint8Array
Defined in: core/backend.ts:193
RGBA bytes per link, length 4 * count.
count:
number
Defined in: core/backend.ts:202
groups?
Section titled “groups?”
optionalgroups?:Float32Array<ArrayBufferLike>
Defined in: core/backend.ts:197
Per-instance highlight group (#162): the link’s source node id. Length count.
groups2?
Section titled “groups2?”
optionalgroups2?:Float32Array<ArrayBufferLike>
Defined in: core/backend.ts:199
The other endpoint (target) id for undirected hover (#162); -1/absent when unused. Length count.
radii:
Float32Array
Defined in: core/backend.ts:187
[r0, r1] source/target node radii per link, length 2 * count (the tip lands on r1).
samples?
Section titled “samples?”
optionalsamples?:number
Defined in: core/backend.ts:195
Path samples (M) per bezier edge of the strip; a draw setting, not per-instance. Default 24.
selected?
Section titled “selected?”
optionalselected?:Uint8Array<ArrayBufferLike>
Defined in: core/backend.ts:201
Per-instance selected flag (0/1) for shader-driven dim/recolour (#162). Length count.
sources
Section titled “sources”sources:
Float32Array
Defined in: core/backend.ts:183
[x, y] world source centre per link, length 2 * count.
targets
Section titled “targets”targets:
Float32Array
Defined in: core/backend.ts:185
[x, y] world target centre per link, length 2 * count.
widths
Section titled “widths”widths:
Float32Array
Defined in: core/backend.ts:189
[width, oppositeWidth] per link, length 2 * count (opposite width spaces the source foot).