IT tutorials
 
Office
 

Microsoft Visio 2010 : Adding Structure to Your Diagrams - Comparing Containers and Groups

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Product Key Free : Microsoft Office 2019 – Serial Number
1/11/2014 1:25:25 AM

You can use either groups or containers to visually connect a set of shapes. However, the two have key behavioral differences that are likely to lead you to use one or the other depending on your needs.

In this exercise, you will create both a group and a container, and then you will perform the same set of actions on each in order to examine the differences.


  1. Create a colored rectangle and group it with the network shapes on the left side of the page.

  2. Draw a bounding box around the Branch Office 2 network shapes on the right side of the page.

    image with no caption

    Container

  3. On the Insert tab, in the Diagram Parts group, click the Container button. The container gallery opens.

    As you move your mouse over the thumbnails in the container gallery, note that Live Preview shows how each container style will look with your selected shapes.

    See Also
  4. Click Container 2 (as shown in the previous graphic).

    See Also

    Your diagram now shows a set of grouped shapes on the left and a container on the right.

  5. Click the Branch Office 1 group once to select it, and then drag the bottom resize handle down to the bottom of the page.

  6. Click the edge or heading of the Branch Office 2 container once to select it, and then drag the bottom resize handle down to the bottom of the page.

    Important

    One immediate difference to note: you can select a group by clicking anywhere on its edge or interior, but you can only select a container by clicking its edge or its heading.

    In the following graphic, you can see that what you’ve previously learned about groups applies here: resizing the group resizes the shapes in the group. Look at the container on the right, however. The container is taller but its member shapes are unchanged.

    Important
  7. Press Ctrl+Z twice to undo both resize operations.

  8. Drag two PC shapes from the Computers and Monitors stencil, dropping the first in the open area above the Branch Office 1 network segment and the second in the open area of the container for Branch Office 2.

    Tip

    Containers provide visual feedback when you drag shapes near or into them. (This is one way to distinguish a container from a group or an ordinary shape.) The border of the container on the right in the following graphic shows an orange color that is very similar to the coloring used for Dynamic Grid lines.

    Important
  9. Hold down the Shift key and click on both the group and the container to select them. Then drag the selection down to the bottom of the page.

    As you can see in the following graphic, dropping a shape on a group does not add it to the group—it is left behind when you move the group. In contrast, dropping a shape into a container does add it to the container, so it moves when you move the container.

    Tip

    By default, shapes dropped on a group are not added to the group. However, if you run Visio in developer mode, you can change the behavior of a group so it will accept dropped shapes. For more information about developer mode, see the Appendix.

    Important
  10. Press Ctrl+Z three times to undo the move operation and delete the two PCs you added.

  11. Click once to select the Branch Office 1 group, and then click the printer in the group. Drag it out of the top of the group rectangle.

    Tip

    The default behavior for groups is that the first click selects the group; you must click a second time to select a shape in the group. If you run Visio in developer mode, you can alter the selection characteristics of a group. For more information about developer mode, see the Appendix.

  12. Click once to select the printer in the Branch Office 2 container, and then drag it out of the top of the container. The results of both this step and the previous one are shown in the following graphic.

    Tip

    One click is sufficient to select any shape in a container because, by design, the fill of the container can’t be selected with a mouse click.

    Important
  13. Hold down the Shift key and click both the group and the container to select them. Then drag the selection down to the bottom of the page.

    Although you have dragged the printer on the left off the colored group rectangle, the shape is still part of the group. Consequently, the printer moves when you move the group. On the right, however, dragging a shape out of a container removes it from the container so it stays behind when you move the container.

    Important
  14. Press Ctrl+Z three times to undo the move operation and return the printers to their original locations.

  15. Click and drag in the interior of the group and attempt to draw a bounding box around the two PCs below the network segment.

    The result will not be what you intended. You cannot select the two PCs with a bounding box because clicking and dragging within the group shape moves the group (see the graphic in the next step).

    Tip

    You can select shapes in a group with a bounding box—but only if you start the bounding box outside of the group.

  16. Click once in the interior of the container and attempt to draw a bounding box around the two PCs below the network segment.

    A bounding box inside a container does select contained shapes for the same reason that you could select a contained shape with a single click in Step 13: the container background is “invisible” to mouse clicks.

    Important
  17. Click once to select the Branch Office 1 group, type San Francisco, and press Esc. Then format the text to 14 pt. and Bold to make it more visible.

  18. Click once to select the container, type Boston, and press Esc. Then format the text to 14 pt. and Bold to make it more visible.

    As you can see in the following graphic, the text you added to the group on the left is positioned in the center of the group by default. Unfortunately, this places the new text on top of the words Branch Office 1.

    In contrast, a container has a built-in header. When you add text to a container, the text automatically appears in the header.

    Important

Clean Up

 Save your changes to the Groups vs. Containers drawing, and then close it.

After completing this exercise, you should have a good working knowledge of the properties of groups compared to containers. For future reference, the following table contains a summary of the key differences.

Action

Groups

Containers

Resizing

Contents are resized with the group

Contents are not changed

Selecting an interior shape

Requires two clicks (unless default group behavior has been changed)

Requires one click

Selecting interior shape(s) with a bounding box

Cannot start a bounding box by clicking inside a group

Can start a bounding box anywhere

Dropping a new shape inside

Dropped shapes are not added to the group (unless default group behavior has been changed)

Dropped shapes are added to the container

Dragging a shape out

Shape is physically outside the group but remains part of the group

Shape is removed from the container

Typing text

Text is placed in the center of the group

Text is placed in the container’s heading

 
Others
 
- Microsoft Visio 2010 : Aligning and Arranging Shapes (part 7) - Controlling Front-to-Back Positioning
- Microsoft Visio 2010 : Aligning and Arranging Shapes (part 6) - Using the Grid, Ruler, and Guides
- Microsoft Visio 2010 : Aligning and Arranging Shapes (part 5) - Aligning and Distributing Shapes Using Position Functions - Distributing Shapes, Rotating Shapes
- Microsoft Visio 2010 : Aligning and Arranging Shapes (part 4) - Aligning and Distributing Shapes Using Position Functions - Practice Aligning Shapes
- Microsoft Visio 2010 : Aligning and Arranging Shapes (part 3) - Using Auto Align & Space to Clean Up Connected Diagrams
- Microsoft Visio 2010 : Aligning and Arranging Shapes (part 2) - Controlling Dynamic Grid Spacing, Dynamically Aligning Other Parts of Shapes
- Microsoft Visio 2010 : Aligning and Arranging Shapes (part 1) - Working with the Dynamic Grid
- Microsoft Excel 2010 : Working with Other Microsoft Office Programs - Pasting Charts into Other Documents
- Microsoft Excel 2010 : Working with Other Microsoft Office Programs - Creating Hyperlinks
- Microsoft Excel 2010 : Working with Other Microsoft Office Programs - Storing Workbooks as Parts of Other Office Documents
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us