fix(visible-edges): handle subflows closes #2192
This commit is contained in:
@@ -69,8 +69,8 @@ function useVisibleEdges(onlyRenderVisible: boolean, nodeInternals: NodeInternal
|
|||||||
targetNode?.width &&
|
targetNode?.width &&
|
||||||
targetNode?.height &&
|
targetNode?.height &&
|
||||||
isEdgeVisible({
|
isEdgeVisible({
|
||||||
sourcePos: sourceNode.position || { x: 0, y: 0 },
|
sourcePos: sourceNode.positionAbsolute || { x: 0, y: 0 },
|
||||||
targetPos: targetNode.position || { x: 0, y: 0 },
|
targetPos: targetNode.positionAbsolute || { x: 0, y: 0 },
|
||||||
sourceWidth: sourceNode.width,
|
sourceWidth: sourceNode.width,
|
||||||
sourceHeight: sourceNode.height,
|
sourceHeight: sourceNode.height,
|
||||||
targetWidth: targetNode.width,
|
targetWidth: targetNode.width,
|
||||||
|
|||||||
Reference in New Issue
Block a user