refactor(edges): handle mixed edges #961
This commit is contained in:
@@ -124,7 +124,7 @@ export default memo(
|
||||
markerEndId,
|
||||
borderRadius = 5,
|
||||
}: EdgeSmoothStepProps) => {
|
||||
const [centerX, centerY] = getCenter({ sourceX, sourceY, targetX, targetY });
|
||||
const [centerX, centerY] = getCenter({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition });
|
||||
|
||||
const path = getSmoothStepPath({
|
||||
sourceX,
|
||||
|
||||
Reference in New Issue
Block a user