Attachments
An attachment ties one block to an edge or corner of another — a title on a container’s border, a caption under an icon, a badge in a corner. The attached block travels with its host whenever the host moves, resizes or is pushed. A block sitting next to another is left behind; an attached one never is.
An attached block sits either on the host’s edge, straddling the border, or outside it, clear of
the border. The file format and the MCP tools
call these placements.
Attaching with the mouse
Section titled “Attaching with the mouse”Float a block (start the drag diagonally, or hold Shift) and drop it on another block’s edge. The label below attaches to the container’s top edge, follows the container when it moves, and then a diagonal pull breaks it free again.
Dragging an attached block straight along its edge slides it along the edge, and dragging it straight across the edge resizes the host. Only a diagonal pull breaks the attachment. The Detach command in the context menu breaks it too.
A container’s group icon sits inside one of its corners. Drop a block just inside a container’s
corner and it attaches there, its margin in from both edges, and stays in the corner however the
container is resized. A block already sitting in its container’s corner attaches there with the
Attach to corner command, seated its margin in as a drop would seat it. To keep a header flush
with the corner, set the block’s margin to zero first.
Attaching with the keyboard
Section titled “Attaching with the keyboard”The same ⌘Shift and arrow keys that move a block into and out of containers (see Hierarchy) form and break attachments on the way:
- Moving towards a block, the first press attaches it
outsidethat block’s near edge. The next press carries on into the block. - Moving out of the container it is in, the first press attaches it
onthat container’s edge. The next press carries on out. - Once attached, the arrows along the edge slide it between the stops on that edge, and an arrow away from the host breaks it free.
The label above approaches the container and attaches outside its left edge, goes inside, comes back out onto the left edge, slides up the edge, and breaks free.