Thanks for the link. Already found that and was playing with it but didn't get far. Do you have an example where it works for nested container shapes? I have a diagram with a root container shape that contains several container shapes of its own. And I've mangled the example code to get it to do some very intriguing things with the diagram, but not exactly what I want (i.e. the diagram becomes huge and things get moved and resized quite oddly).