Drag and drop implementation: Offset nodes to provide space for the dropped node.
Position of the cursor, indicating the area of the drop.
Selector (same as in themes) used to decide which nodes can be dropped inside, defaults to none.
Size of the droppable area.
If true, a drag & drop node hovers this frame.
Children of this frame.
Defines in what directions children of this frame should be placed.
Add children.
List children in the space, removing all nodes queued for deletion beforehand.
Space does not take hover; isHovered is always false.
Calculate the offset for the next node, given the childSpace result for its previous sibling.
Get space for a child.
Returns true if the given node can be dropped into this node.
Called every frame an eligible node is hovering the rectangle. Used to provide feedback while drawing the container node.
Specifies the given node has been dropped inside the container.
This is a frame, a stylized container for other nodes.
Frame supports drag & drop via acceptDrop.