fix(core): connection line pos not matching edge pos
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -38,8 +38,14 @@ export function getHandles(
|
||||
id: h.id || null,
|
||||
type,
|
||||
nodeId: node.id,
|
||||
x: (node.computedPosition?.x ?? 0) + h.x + h.width / 2,
|
||||
y: (node.computedPosition?.y ?? 0) + h.y + h.height / 2,
|
||||
...getHandlePosition(
|
||||
h.position,
|
||||
{
|
||||
...node.dimensions,
|
||||
...node.computedPosition,
|
||||
},
|
||||
h,
|
||||
),
|
||||
})
|
||||
}
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user