Skip to content

Commit b18ce37

Browse files
committed
Fix connection edge incorrect position
1 parent 843b577 commit b18ce37

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/agentflow/src/features/canvas/components/NodeInputHandle.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ function NodeInputHandleComponent({ nodeId, nodeColor, hidden }: NodeInputHandle
2525
backgroundColor: 'transparent',
2626
border: 'none',
2727
position: 'absolute' as const,
28-
left: HANDLE_OFFSET
28+
left: HANDLE_OFFSET,
29+
top: '50%',
30+
transform: 'translateY(-50%)'
2931
}),
3032
[]
3133
)

0 commit comments

Comments
 (0)