When I expand the width of the “Class Role” object, the class box at the top expands, but the box on the line does not. Why, and can I reproduce that in my own objects? Is there a name for that capability in OmniGraffle that I can look up in the help?
I tried a few different ways to duplicate your success but no luck. You can select part of a group and resize it without affecting rest of group. Have to select a couple times or use the Sidebar to select the appropriate element. Than you can re-align them.
When you were able to resize the part of the group, did rest of group stay in their correct position (ie did the dashed line and lower rectangle move but stay centered (and move right if expanding to the right)?
I mean – I wouldn’t say that everything moves exactly as I’d like – the horizontal movement is actually pretty spot on, but vertical resizing affects things that I wouldn’t want to change. I’m just trying to understand how the horizontal resizing works, even if it’s not a complete solution, it seems to do at least some of what I want.
I mean, that’s roughly what it looks like to me, but … the information in the sidebar isn’t super-precise for that kind of analysis.
The “Class Role” object seems to be a group, and within it looks like a labeled box, a box and a line? Although the line looks like a dashed curve instead of the straight lines that the connectors I added myself look like, not sure what meaning that has:
The inspector seems to support that:
Both Activation and Object seem to be rectangles (“Shape: Rectangle” in the inspector in the shape section).
Lifeline does seem to be a line, set to curved which is probably why the icon is a curve.
Maybe one hint is that Activation box, if I try to drag it around, only moves around on the line, much like if you attach a label to a line. I don’t know how I’d attach a rectangle to a line like that, but perhaps that’s why it’s not growing when I expand the group. If so, it might just be that there’s a special way in which objects attached to lines behave and it might not be useful in the general case?