Skip to content

HalfLinkParams

Defined in: core/half-link.ts:52

Inputs for one directed half-arrow link (world coordinates/units).

bend: number

Defined in: core/half-link.ts:69

Bend: absolute perpendicular offset of the centre curve, in world units (the reference’s bend).


optional oppositeWidth?: number

Defined in: core/half-link.ts:67

The reciprocal link’s width, if any — its arrowhead lands at this link’s source end, so we leave room for it there. Defaults to width (symmetric) when there’s no opposite link.


r0: number

Defined in: core/half-link.ts:56


r1: number

Defined in: core/half-link.ts:60


width: number

Defined in: core/half-link.ts:62

This link’s width (drives the strip width and arrowhead size).


x0: number

Defined in: core/half-link.ts:54

Source node centre + radius.


x1: number

Defined in: core/half-link.ts:58

Target node centre + radius.


y0: number

Defined in: core/half-link.ts:55


y1: number

Defined in: core/half-link.ts:59