English
@eightkk/vue-weave / core / graphPolylinePath
Function: graphPolylinePath()
graphPolylinePath(
points,cornerRadius?):string
Defined in: src/core/graphRouting.ts:243
SVG path data of a polyline through points. A positive cornerRadius rounds each corner with a quadratic curve, never cutting more than half of either adjoining segment. Throws RangeError for a non-finite point or a negative or non-finite corner radius.
Parameters
points
readonly GraphPoint[]
cornerRadius?
number = 0
Returns
string