if (deltaX != 0 || deltaY != 0) {
SapphireDiagramEditor editor = node.getDiagramModel().getSapphireDiagramEditor();
List<DiagramConnectionModel> srcConnections = node.getSourceConnections();
for (GraphicalEditPart part : editor.getSelectedEditParts()) {
if (part instanceof DiagramNodeEditPart) {
DiagramNodeModel otherNode = ((DiagramNodeEditPart)part).getCastedModel();
List<DiagramConnectionModel> targetConnections = otherNode.getTargetConnections();
for (DiagramConnectionModel conn : targetConnections) {
if (srcConnections.contains(conn)) {
moveAllBendpoints(conn, deltaX, deltaY);
}
}