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()