In my diagram i have nested container shapes . I have problem with connection loosing its anchor when container has new shape and got bigger.
how do i handle that? my guess is that Layout Feature some how need to take care of it... but i am not sure.
what is the right way to fix it .
Michael Wenz Messages: 1888 Registered: July 2009 Location: Walldorf, Germany
ususally you do not need to care about connections when moving shapes. Connections start and end in a anchors (either explicitly defined ones or the default ChopboxAnchor). When you move the shape all children (anchors are children as well) are moved along. This even works if you change the parent of the shape.
You should check in your code if there any place (e.g. the layout feature you mentioned) that change the anchor of the connection (Connection.setStart/setEnd) or move an anchor to another parent.