Automatic displacement of groups and their children

In addition, the manager provides features that compute and enforce group/child location relationships when one or the other is moved:
em.setAutoComputeGroupLocation(true); 

Moving a group

When the user interactively moves a group, the children belonging to that group are all moved using the same offsets.
The following figure shows how the children are moved when the group is moved.
defprg_symbol7.gif
Moving a group

Moving children

When the user interactively moves the children of a group to a new position, the corresponding group is moved accordingly.
The following figure shows how the group is moved when the children are moved.
defprg_symbol8.gif
Moving children