(node: Node, containerNode: Node)
| 30 | } |
| 31 | |
| 32 | export function getNodePositionOutOfGroup(node: Node, containerNode: Node) { |
| 33 | const nodePosition = node.position ?? { x: 0, y: 0 }; |
| 34 | nodePosition.x = nodePosition.x + containerNode.position.x; |
| 35 | nodePosition.y = nodePosition.y + containerNode.position.y; |
| 36 | return nodePosition; |
| 37 | } |