News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Containers and Connectors

Started by celoranta, September 16, 2023, 01:24:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

celoranta

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...

wapperdude

#1
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.
Visio 2019 Pro

celoranta


Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 170 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1051KB.
Tokens: post-login.
Cache hits: 14: 0.00195s for 26,766 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]