EObject diagramLinkObject = nextDiagramLink.getElement();
EObject diagramLinkSrc = nextDiagramLink.getSource().getElement();
EObject diagramLinkDst = nextDiagramLink.getTarget().getElement();
for (Iterator<DispelLinkDescriptor> linkDescriptorsIterator = linkDescriptors
.iterator(); linkDescriptorsIterator.hasNext();) {
DispelLinkDescriptor nextLinkDescriptor = linkDescriptorsIterator
.next();
if (diagramLinkObject == nextLinkDescriptor.getModelElement()
&& diagramLinkSrc == nextLinkDescriptor.getSource()
&& diagramLinkDst == nextLinkDescriptor
.getDestination()
&& diagramLinkVisualID == nextLinkDescriptor
.getVisualID()) {
linksIterator.remove();
linkDescriptorsIterator.remove();
break;
}