Connected diagrams can often get a little crowded with various dynamic connectors running between multiple nodes and so it can be useful to hide some of the connecting lines. Of course you still need to make sense of what’s connected to what so adding labels to a connector can be helpful. The challenge is positioning those labels in what is, by definition, a truly dynamic shape.
A couple of posts ago I covered one way of adding ‘Positioning icons in a Visio group shape’. This post follows up with a small code utility to take some of the leg work out of adding all of the group and sub-shape cells.
In a previous post, I looked at one option for positioning icon sub-shapes within a group using a grid system. This works nicely, but it’s based on equally sized grid rows and columns and therefore, equally sized icons too. So in this post I'm going to have a go at trying to managed variable sized icons, while still retaining the ability of collapsing individual items so that the remaining visible icons concertina up next to each other.