We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f834569 commit 9eccc0eCopy full SHA for 9eccc0e
ui/src/workflow/common/app-node.ts
@@ -386,8 +386,11 @@ class AppNodeModel extends HtmlResize.model {
386
if (targetNode.id == sourceNode.id) {
387
return false
388
}
389
- const up_node_list = this.graphModel.getNodeIncomingNode(targetNode.id)
390
- const is_c = up_node_list.find((up_node) => up_node.id == sourceNode.id)
+ const up_edge_list = this.graphModel.getNodeIncomingEdge(targetNode.id)
+ const is_c = up_edge_list.find(
391
+ (up_edge) =>
392
+ up_edge.targetAnchorId == targetAnchor.id && up_edge.sourceAnchorId == sourceAnchor.id,
393
+ )
394
return !is_c && !isLoop(sourceNode.id, targetNode.id)
395
},
396
})
0 commit comments