Merge pull request #4548 from xyflow/handle-lookup

Improve search algorithm for close handles
This commit is contained in:
Moritz Klack
2024-08-14 16:39:50 +02:00
committed by GitHub
9 changed files with 272 additions and 107 deletions
@@ -161,6 +161,7 @@ function HandleComponent(
isValidConnection: isValidConnectionStore,
lib,
rfId: flowId,
nodeLookup,
connection: connectionState,
} = store.getState();
@@ -190,6 +191,7 @@ function HandleComponent(
flowId,
doc,
lib,
nodeLookup,
});
if (isValid && connection) {