Box Layout
The Box layout arranges the set of selected elements into a square grid.

The dimensions of the box are determined by the square root of the number of selected elements (for example, 16 elements create a 4x4 box).
To invoke this layout, follow the steps below:
- Follow the general Layout Diagrams procedure, and at step 3 select Box.
- Click on the drop-down arrow in the Sort By: field and select the required sort parameter. The options are:
- None - Elements are passed to the specified layout in the order in which they appear on the original diagram (left to right, top to bottom)
- Area (Ascending) - Elements are passed to the specified layout in order of the screen space they occupy, smallest to largest
- Area (Descending) - Elements are passed to the specified layout in order of the screen space they occupy, largest to smallest
- Name (Ascending) - Elements are passed to the specified layout in alphanumeric order, based on the element name
- Name (Descending) - Elements are passed to the specified layout in reverse alphanumeric order, based on the element name
- Element Type - Elements are grouped by type (for example, Class, Use Case) and in alphanumeric order within the group by name.
- In the Padding (px) field, type the vertical and horizontal distance between elements, in pixels.
- Select the appropriate element distribution option:
- Automatically distribute: Automatically calculate the dimensions of the box (the square root of the number of selected elements; for example,16 elements create a 4x4 box)
- Specify distribution: Manually define the width of the box, in columns.
- If you selected Specify Distribution, in the Columns field type the required number of columns.
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2008 Sparx Systems Pty Ltd.