AE.cleanChildData();
boolean wasElement = false;
for (DiagramElement DGelem : FDe.getDiagramElements()) {
if (DGelem instanceof FeatureNode) {
FeatureNode baseNode = (FeatureNode) DGelem;
if (baseNode.getName().contentEquals(
AE.getFeatureElement())) {
wasElement = true;
for (AbstractRelation abstractRel : baseNode
.getChildRelations()) {
if (abstractRel instanceof MandatoryRelation) {
String mandatoryElementName = ((MandatoryRelation) abstractRel)
.getTargetFeatureNode().getName();