Compounds

A compound groups objects so that they act as one: move, copy, rotate and scale treat it as a single object. Compounds can contain compounds.

Glue into compound

Key G. Collects objects into a compound.

Break compound

Key Shift+G. Takes a compound apart.

Open compound

Key O. Edits the inside of a compound without breaking it. After opening, every mode works on the objects inside; the rest of the drawing is gray and cannot be touched.

A "Close Compound" button appears while one is open; opening several in turn goes deeper. Saving asks whether to save only the visible part or everything. Undo steps through opening and closing too.

Edit a compound

The edit panel of a compound (Edit mode, or Edit attributes, Ctrl+E) has, as in xfig:

Changes show on the canvas as you make them; Done is one undo step, Cancel restores the compound. The corners are the compound's bounds as the export gives them, so they include the width of the lines and the text.