Function: getSimpleBezierPath ​
â–¸ getSimpleBezierPath(simpleBezierPathParams
): [path: string, labelX: number, labelY: number, offsetX: number, offsetY: number]
Get a simple bezier path from source to target handle (no curvature)
Parameters ​
Name | Type |
---|---|
simpleBezierPathParams | GetSimpleBezierPathParams |
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