Skip to content

Function: getSmoothStepPath ​

â–¸ getSmoothStepPath(smoothStepPathParams): EdgePathParams

Get a smooth step path from source to target handle

Parameters ​

NameType
smoothStepPathParamsGetSmoothStepPathParams

Returns ​

EdgePathParams

A path string you can use in an SVG, the labelX and labelY position (center of path) and offsetX, offsetY between source handle and label

Released under the MIT License.