3.11 Using Containers to Control Objects

Container can help you group objects with more options and control over objects than the standard grouping feature.

There are three types of containers that can be used with the Layout view:

This section covers how to group multiple objects with a simple container:

3.11.1 Grouping Components with a Container

To group drawing components with a container:

  1. Use the selection tool to select the desired components.

    For example, this might include elements, shapes, and associated text labels.

    Elements generated by an Automatic layout cannot be grouped with other items.

  2. Right-click anywhere on a selected component and select Customize > Container > Wrap in Container.

    The selected components are wrapped in an outer container.

3.11.2 Adjusting the Wrapping Container

While outer containers can be modified just like any other rectangle or drawing shape, there are some options that are unique to containers.

To adjust the outer container and wrapping attributes:

  1. To adjust the wrap settings, right-click the container and select Customize > Container > Wrapping > Adjust Wrap Settings. The Adjust Wrap Settings dialog box opens.

    Do any of the following:

    • Select any of the Pad radio buttons to adjust the spacing between the components.

    • Specify the minimum width of the outer container in the Minimum Width field.

    • Specify the minimum height of the outer container in the Minimum Height field.

    Click OK.

  2. To hide or show the outer container do one of the following:

    • To hide the outer container, right-click the container and select Customize > Container > Hide Wrapping Rectangle.

      The outer rectangle is invisible to the view.

    • To restore the outer container, right-click the container and select Customize > Container > Show Wrapping Rectangle.

3.11.3 Adjusting Container Layout Type

There are many types of layouts available for a container that set how components are displayed in the container. Grid and Flow layouts have additional settings for configuration.

To adjust the outer container and wrapping attributes:

  1. In the drawing, right-click the container, then select Customize > Container > Layout > Set Layout. The Set Layout dialog box opens.

  2. Select the layout type in the drop-down list.

  3. Click OK.

    The view updates to the new layout type.

  4. To adjust setting on a Flow Layout, right-click the container and select Customize > Container > Layout > Adjust Grid Layout. The Adjust Grid Layout dialog box opens.

    Specify options as desired for the number of columns, node alignment, spacing widths, column width and row height.

  5. To adjust setting on a Flow Layout, right-click the container and select Customize > Child Container > Layout > Adjust Flow Layout. The Adjust Flow Layout dialog box opens.

    Specify options as desired for the spacing and width.

    Click OK.