Skip to content

HalfLinkParams

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

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

bend: number

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

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


optional oppositeWidth?: number

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

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


r1: number

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


width: number

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

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


x0: number

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

Source node centre + radius.


x1: number

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

Target node centre + radius.


y0: number

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


y1: number

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