Skip to content

NetworkLinkHit

Defined in: network/network.ts:45

What GPU-readback link picking (#141) resolved — carried as the datum of the HoverHit from on("hover" | "click") (or Network.pick) when the cursor is over a link, with layer: "links". Enabled by Network.pickLinks. The hit’s id is the link’s stable identity: the edge index with LOD off, or the directed tree-node pair (source * tree.size + target) under LOD.

aggregate: boolean

Defined in: network/network.ts:51

True under LOD when either endpoint is an aggregate (a super-edge between collapsed modules).


source: number

Defined in: network/network.ts:47

Source node id. With LOD off a leaf node index; under LOD a tree-node id (aggregate if ≥ leafCount).


target: number

Defined in: network/network.ts:49

Target node id (same id space as source).


weight: number

Defined in: network/network.ts:53

Edge flow/weight — the leaf edge’s weight with LOD off, the summed super-edge flow under LOD.