Group or ungroup shapes in Visio

You can group shapes together to move them all at once and then ungroup the shapes to move them independently.

You can do anything to a group of shapes that you can do to a single shape: resize it, rotate it, align it with other shapes, and so on. Visio treats a group as one big shape.

Group shapes

  1. On the Home tab, in the Tools group, click the Pointer Tool.

  2. Drag a selection around all the shapes that you want to group or ungroup, or hold down CTRL and click all the shapes that you want to group or ungroup.

  3. Right-click a selected shape, point to Group, and then click Group. You can also press CTRL+SHIFT+G.

Ungroup shapes

  1. On the Home tab, in the Tools group, click the Pointer Tool.

  2. Right-click the group, point to Group, and then click Ungroup. You can also press CTRL+SHIFT+U.

Add or remove a shape from a group

  1. Do one of the following:

    • To add a shape to a group, select both the shape and the group to which you want to add the shape.

    • To remove a shape from a group, select the group, and then click the shape you want to remove from the group.

  2. On the Home tab > Arrange group > Group > select Add to Group or Remove from Group.

Creating a group within a group

You can even group a shape with another group of shapes to create a group within a group. If you create many nested groups, however, Visio slows down. For better performance of Visio, consider adding and removing shapes from groups instead of creating groups within groups.

Group or ungroup shapes

  1. Click the Pointer tool Button image , and then do one of the following:

    • Drag a selection net around all the shapes that you want to group or ungroup.

    • Hold down SHIFT and click all the shapes that you want to group or ungroup.

  2. Do one of the following:

    • To group the shapes, on the Shape menu, point to Grouping, and then click Group, or press CTRL+SHIFT+G.

    • To ungroup the shapes, on the Shape menu, point to Grouping, and then click Ungroup, or press CTRL+SHIFT+U.

Add or remove a shape from a group

  1. Do one of the following:

    • To add a shape to a group, select both the shape and the group to which you want to add the shape.

    • To remove a shape from a group, select the group, and then click the shape you want to remove from the group.

  2. On the Shape menu, point to Grouping, and then click Add to Group or Remove from Group.

Group shapes or pictures

  1. Open the diagram for editing.

  2. Select two or more shapes or pictures.

    Grouping shapes
  3. Select Shape > Group > Group.

From now on, when you select one of the objects in a group, a selection box surrounds the grouped objects.

Ungroup shapes or pictures

  1. Open the diagram for editing.

  2. Select the group of shapes or pictures. A selection box surrounds grouped objects.

    Grouping shapes
  3. Select Shape > Group > Ungroup.

See Also

Select, move, resize, and rotate shapes

Align and position shapes in a diagram

Visio for the web help

View, create, and edit a diagram in Visio for the web

Select, copy, and move shapes in Visio for the web

Change the size, rotation, and order of a shape in Visio for the web

Expand your Office skills
Explore training
Get new features first
Join Office Insiders