Appearance
@vue-flow/monorepo • Docs
Function: getStraightPath()
getStraightPath(
straightEdgeParams
):EdgePathParams
Get a straight path from source to target handle
Parameters
• straightEdgeParams: GetStraightPathParams
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