Can You Collapse and Expand Grouped Shapes in Microsoft Visio?
Question details
The user wants to collapse a group of Visio shapes into a compact view and expand it on demand.

- Product
- Microsoft Visio
- Device & OS
- not provided
- Scenario
- Organizing a diagram by temporarily replacing a group of shapes with a compact representation.
- Observed behavior
- The desired behavior is to switch between a compact representation and the full group of shapes.
Identify the shapes you want to hide and decide which separate shape will represent them in the compact view. The layer workaround changes visibility manually; it does not automatically resize or rearrange the diagram.
Use a Layer to Manually Hide and Show Diagram Shapes
Use layer visibility as a workaround when you need to switch between a compact representation and detailed shapes.
Visio does not provide a general native command to collapse any group of shapes into a compact view and expand it on demand. Hiding the detail shapes on a layer is a manual visibility workaround, not an automatic collapse feature.
In the Visio diagram, go to Home > Layers > Layer Properties, select New, and name the layer for the shapes you want to hide.
Select the detail shapes, then choose Home > Layers > Assign to Layer and assign them to the new layer. Keep the compact representative shape on a separate visible layer.
Open Home > Layers > Layer Properties and clear the Visible checkbox for the detail layer to hide its shapes. Select the checkbox again to show them.

Use WPS Office for Everyday Document Work
WPS Office is a free, lightweight alternative for everyday office work, with a familiar interface and compatibility that makes moving common documents easier. It does not add a collapse-and-expand feature to Visio.

Frequently Asked Questions
Can I collapse any group of Visio shapes into one shape?
Visio does not offer a general native command to collapse an arbitrary group into a compact shape and expand it later. You can use a separate representative shape and hide the detailed shapes on a layer instead.
Where do I hide or show a layer in Visio?
Open Home > Layers > Layer Properties, then clear or select the layer's Visible checkbox. Make sure the detail shapes are assigned to that layer.
Will hiding a layer automatically rearrange my diagram?
No. Layer visibility hides or shows the assigned shapes; it does not automatically move the remaining shapes or reclaim their space.
How can I request a native collapse feature for Visio?
Use the Visio Feedback option, if available in your version, to describe the ability to collapse and expand grouped diagram shapes.




