From cd81992803cf93a8fc4ebf073b08ae104bc150be Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Wed, 20 Aug 2025 10:57:19 +0800 Subject: [PATCH] fix: Advanced Layout Canvas Editing - Special Editing Method will connect the exit of the current node to the exit of subsequent nodes when adding them (#3891) --- ui/src/workflow/common/NodeContainer.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/src/workflow/common/NodeContainer.vue b/ui/src/workflow/common/NodeContainer.vue index b61fe25b6..8d845333a 100644 --- a/ui/src/workflow/common/NodeContainer.vue +++ b/ui/src/workflow/common/NodeContainer.vue @@ -297,11 +297,13 @@ function clickNodes(item: any) { x: anchorData.value?.x + width / 2 + 200, y: anchorData.value?.y - item.height }) + console.log(nodeModel) props.nodeModel.graphModel.addEdge({ type: 'app-edge', sourceNodeId: props.nodeModel.id, sourceAnchorId: anchorData.value?.id, - targetNodeId: nodeModel.id + targetNodeId: nodeModel.id, + targetAnchorId: nodeModel.id + '_left' }) closeNodeMenu()