quilt-core / Function: joinRectangle()
joinRectangle(
root,receiverId,otherId,rectangles): {area:RegionRect;root:Node;selected:Group[]; } |undefined
Defined in: packages/core/src/join-rectangle.ts:7
Plan a rectangular join from measured layout geometry, without mutating the tree. Only complete groups are selected. A plan exists only when the remaining tiles can still be represented by binary splits without moving their boundaries.
Parameters
root
receiverId
string
otherId
string
rectangles
Record<string, RegionRect>
Returns
{ area: RegionRect; root: Node; selected: Group[]; } | undefined