Function: getSmoothStepPath ​
â–¸ getSmoothStepPath(params
): [path: string, labelX: number, labelY: number, offsetX: number, offsetY: number]
Get a smooth step path from source to target handle
Parameters ​
Name | Type |
---|---|
params | GetSmoothStepPathParams |
Returns ​
[path: string, labelX: number, labelY: number, offsetX: number, offsetY: number]
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