fix(edges): handle mixed flows
This commit is contained in:
@@ -83,8 +83,8 @@ export function getSmoothStepPath({
|
|||||||
} else {
|
} else {
|
||||||
firstCornerPath =
|
firstCornerPath =
|
||||||
sourceY <= targetY
|
sourceY <= targetY
|
||||||
? bottomLeftCorner(targetX, sourceY, cornerSize)
|
? leftTopCorner(targetX, sourceY, cornerSize)
|
||||||
: topRightCorner(targetX, sourceY, cornerSize);
|
: leftBottomCorner(targetX, sourceY, cornerSize);
|
||||||
}
|
}
|
||||||
secondCornerPath = '';
|
secondCornerPath = '';
|
||||||
} else if (!leftAndRight.includes(sourcePosition) && leftAndRight.includes(targetPosition)) {
|
} else if (!leftAndRight.includes(sourcePosition) && leftAndRight.includes(targetPosition)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user