Merge branch 'patch-1' of github.com:michaelspiss/react-flow into michaelspiss-patch-1
This commit is contained in:
@@ -116,7 +116,7 @@ const EdgeRenderer = (props: EdgeRendererProps) => {
|
||||
const targetNodeHandles =
|
||||
connectionMode === ConnectionMode.Strict
|
||||
? targetHandleBounds!.target
|
||||
: targetHandleBounds!.target || targetHandleBounds!.source;
|
||||
: (targetHandleBounds!.target ?? []).concat(targetHandleBounds!.source ?? []);
|
||||
const sourceHandle = getHandle(sourceHandleBounds!.source!, edge.sourceHandle || null);
|
||||
const targetHandle = getHandle(targetNodeHandles!, edge.targetHandle || null);
|
||||
const sourcePosition = sourceHandle?.position || Position.Bottom;
|
||||
|
||||
Reference in New Issue
Block a user