Deleting elements inside the group is not deleting the group

In the following Example:

on deleting Delta and Gamma node the Epsilon node still remains. how can i delete the group when it contain on node grouped inside it.

I suggest that you implement a ‘SelectionDeleted’ DiagramEvent listener that deletes those empty Groups.

If your app supports nested groups, you may need to deal with those too.

Thanks Walter!