Skip to content

@vue-flow/monorepoDocs


Function: getSimpleBezierPath()

getSimpleBezierPath(simpleBezierPathParams): EdgePathParams

Get a simple bezier path from source to target handle (no curvature)

Parameters

simpleBezierPathParams: GetSimpleBezierPathParams

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

VueFlow v1.42 中文网 - 粤ICP备13048890号