diff --git a/src/components/Edges/SmoothStepEdge.tsx b/src/components/Edges/SmoothStepEdge.tsx index b8317820..82f70bdd 100644 --- a/src/components/Edges/SmoothStepEdge.tsx +++ b/src/components/Edges/SmoothStepEdge.tsx @@ -83,8 +83,8 @@ export function getSmoothStepPath({ } else { firstCornerPath = sourceY <= targetY - ? bottomLeftCorner(targetX, sourceY, cornerSize) - : topRightCorner(targetX, sourceY, cornerSize); + ? leftTopCorner(targetX, sourceY, cornerSize) + : leftBottomCorner(targetX, sourceY, cornerSize); } secondCornerPath = ''; } else if (!leftAndRight.includes(sourcePosition) && leftAndRight.includes(targetPosition)) {