Loading...

Visually group shapes in your diagrams with containers in Visio for the web

Visually group shapes in your diagrams with containers in Visio for the web

A container in Visio is a special shape that can hold other shapes inside of it. It's often used to group related shapes together and can be a powerful tool to help organize and manage complex diagrams. The Visio desktop app has long supported containers, and now Visio for the web does, too! Users with a Visio Plan 1 or Visio Plan 2 license use containers in Visio for the web to create diagrams that are better organized and easier to understand and navigate.

 

Add a container from the new Container drop-down

To add a container to your diagram, first select the shapes you want it to contain. Then, from the Insert tab in the ribbon, select the new Container drop-down.


01_Containers in Visio for the web.png

An image of a flowchart in Visio for the web demonstrates how to access new Container options from the Insert tab.

02_Containers in Visio for the web_highlighted.png

 

 

A cropped image of a drawing in Visio for the web highlights the new Container styles.

 

From here, you will see more than a dozen container styles, including Rounded, Translucent, Horizontal Brackets, Vertical Brackets, Corner Frame, Square, and more. Hover over the container shapes, then select the preferred option to add it to the canvas.

 

Add a container from the right-click menu

You can also add a container directly from the right-click menu. Simply right-click a shape—or a group of shapes—that you want to add to the new container, then select Insert Container > Add to New Container from the drop-down menu.

 

03_Containers in Visio for the web_highlighted.png

A cropped image of a flowchart in Visio for the web highlights the new Container options in the right-click menu.

 

Note that, when adding shapes to a container via the right-click menu, only the shape—or shapes—selected will be contained. To include adjacent shapes, drag the container so that it encompasses all relevant shapes. Then, right-click the shapes and select Insert Container > Add to Underlying Container to add the additional shapes to the new container.

 

A video of a flowchart in Visio for the web demonstrates how to add shapes to an underlying container.

 

You can also add multiple shapes to a container by dragging and dropping them into the container. As shown in the GIF above, when a selected shape is contained in a container, you will see a green highlight around the associated container. Drag the required shapes to the container shape and then, when you see the green highlight, drop (or release) the shapes to add them to the container.

Add a container from the new Container stencil

For simplicity and flexibility, we’ve added a third option for adding a container to your diagram. But first, you’ll need to add the new Container stencil to the Shapes pane. To do this, type “Container” in the Search box at the top of the Shapes pane. Scroll through the list of results and select the magnifying glass to see a preview of the Container stencil. Then, select the Add button to pin the stencil to the Shapes pane.

 

A video of a flowchart in Visio for the web demonstrates how to add the new Container stencil to the Shapes pane.

 

Once the stencil is added to the Shapes palette, you can select and drag the preferred container from the stencil onto the canvas. Follow the steps above to increase the size of the container and quickly add additional shapes to the underlying container.

 

Add a header to your container

Once the container has been added, you can replace the default “Heading” text with your own header name, format the text, and add more containers by following the steps outlined above.

 

04_Containers in Visio for the web.png

An image of a flowchart in Visio for the web demonstrates how to add header text to a container by selecting the text in the heading field.

 

Remove a shape from a container or a container from a drawing

To remove a shape from a container, simply select the shape and drag it out of the container. If successfully removed, you’ll notice that the green highlight will no longer appear around the container when you select the removed shape.

 

You can also delete a container from your drawing without having to delete the contained shapes. Simply right-click the container that you want to delete, then select Delete from the right-click menu. After selecting Delete, you will receive a prompt confirming whether you want to delete not only the container, but also all of its contents. Unchecking the box will allow you to keep the contained shapes as part of your drawing while removing the container.

 

05_Containers in Visio for the web_cropped.png

An image of a message prompt in Visio for the web asks a user, “Are you sure you want to delete this container?”

 

New Container tab in the ribbon

Select a container in your diagram to access the new Container tab in the ribbon. Here, you’ll see options to: fit the container to its contents, quickly change the current style of the container, rotate the heading text by 90 degrees counterclockwise, and lock the contents of the container to prevent certain actions, such as deleting contained shapes.

 

06_Containers in Visio for the web.png

A cropped image of a flowchart in Visio for the web highlights the new Container tab in the ribbon.

 

Example user scenario: Solution architecture diagram

Containers can be used to group related shapes in an architecture diagram. The example below uses Translucent containers to group the three DevTest environments that exist under an Azure DevTest subscription, and clearly separates them from the Production environment.

07_Containers in Visio for the web.png

An image of an Azure architecture diagram in Visio for the web demonstrates how to use containers to group components in DevTest and Production subscriptions.

 

Example user scenario: Large team org chart

Containers can also be a great way to visually group specific team members within an org chart. The example below uses the Classic 1 container style to indicate those who are part of a virtual team.

 

08_Containers in Visio for the web.png

An image of a large team org chart in Visio for the web demonstrates how to use containers to identify virtual teams.

 

Learn more about how to clarify the structure of diagrams by using containers in Visio for the web.

 

We are listening!

We look forward to hearing your feedback and learning more about how you use containers in Visio for the web. Please share some of your use cases in the comments below or let us know how we can help to improve the experience. You can also send feedback via the Visio Feedback Portal or directly in the Visio web app using “Give Feedback to Microsoft” in the bottom right corner.

Did you know? The Microsoft 365 Roadmap is where you can get the latest updates on productivity apps and intelligent cloud services. Check out what features are in development and coming soon for Visio on the Microsoft 365 Roadmap.

 

 

 

 

 

Published on:

Learn more
Microsoft 365 Blog articles
Microsoft 365 Blog articles

Microsoft 365 Blog articles

Share post:

Related posts

Announcing the General Availability of the Microsoft 365 Document Collaboration Partner Program

Empowering Seamless Collaboration for Modern Workforces  We are thrilled to announce the general availability of the Microsoft 365 Docume...

1 year ago

Favorite Microsoft 365 Copilot Prompts

(Amber Plumb interviewing Michael Morales and Allison Sweet)  The power of M365 Copilot is transforming the way our support team operates...

1 year ago

Favorite Copilot Prompts

(Amber Plumb interviewing Michael Morales and Allison Sweet)  The power of M365 Copilot is transforming the way our support team operates...

1 year ago

Boost digital event engagement with Voting and Archiving in Teams Q&A

Managing and delivering effective town halls is key to enabling two-way dialogue with leaders in today’s hybrid world. Microsoft Teams Q&A...

1 year ago

Prepare now for key end of support moments in 2025

One year from today, on October 14, 2025, support will end for all Office 2016 and 2019 suites, standalone apps, and servers. This includes:&n...

1 year ago

Everything you should know about Visio 2016 and Visio 2019 end of support

On October 14, 2025, Visio 2016 and Visio 2019 will reach end of support. After this date, Visio 2016 and Visio 2019 will no longer receive se...

1 year ago

Limit frontline worker access to Teams when off shift

We’re excited to announce that the frontline working time feature is now generally available! This feature allows admins to block or warn acce...

1 year ago

We are removing Feed on Microsoft 365 (Office)

As part of our ongoing efforts to streamline and enhance user experiences, we will be retiring the Feed feature (shown in figure 1 below) on t...

1 year ago

NOW ON DEMAND | Microsoft Loop Learning Series [Six webinars]

UPDATE | All parts of the Loop Learning Series have aired and are now available to watch on demand, playable below in this blog post.  Ar...

1 year ago

Leveraging Partner Apps to Deliver on the Promise of AI-Led Productivity

The advent of generative AI is driving a rethink of what outcomes we deserve from our productivity software – from gains in efficiency to more...

1 year ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.