本文へ移動

@eightkk/vue-weave / core / graphSmoothPath

Function: graphSmoothPath() ​

graphSmoothPath(points): string

Defined in: src/core/graphRouting.ts:273

SVG path data of a smooth curve through every point (a Catmull-Rom spline drawn with cubic Bézier segments). Throws RangeError for a non-finite point.

Parameters ​

points ​

readonly GraphPoint[]

Returns ​

string

MIT ライセンスで公開しています。