Skip to content

HalfLinkParams

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

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

bend: number

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

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


optional oppositeWidth?: number

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

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


r1: number

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


width: number

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

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


x0: number

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

Source node centre + radius.


x1: number

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

Target node centre + radius.


y0: number

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


y1: number

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