Author Topic: Containers and Connectors  (Read 660 times)

0 Members and 1 Guest are viewing this topic.


  • Jr. Member
  • **
  • Posts: 22
Containers and Connectors
« on: September 15, 2023, 08:24:25 PM »
Hi All.  Been a while!

I'm using containers to set up some shared values between contained shapes. 
Unfortunately, with the User.msvStructureType="Container" I lose the ability to block connectors.  (Connectors don't route around containers.)
Is there any way to toggle this back on for a container?  The options are grayed out within Developer>Placement
(Yes, I do understand why containers are typically invisible to connectors, but I don't understand why this would be implemented in a way that doesn't allow it to be toggled...)
I could forego the use of containers, but relationships between group members break so much more easily...


  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4837
  • Ideas Visio-lized into solutions
Re: Containers and Connectors
« Reply #1 on: September 16, 2023, 01:58:18 AM »
That's the way it is.  It was intentionally done that way.

A theoretical workaround...
Add a "ghost" shape such that:  (ghost because it is hidden behind container)
  1) its PinX and PinY = the container's PinX and PinY.  This causes the shape to track with the container. 
  2) set width, height = to container width, height => size matching.
  3) Z-order:  put this shape behind the container => This maintains normal container / member relationships.

Connectors will route around the shape, thus routing around the container.
« Last Edit: September 16, 2023, 02:04:00 AM by wapperdude »
Visio 2019 Pro


  • Jr. Member
  • **
  • Posts: 22
Re: Containers and Connectors
« Reply #2 on: September 18, 2023, 12:58:25 AM »
That's genius.  Thank you!