final Controller controller = Controller.getCurrentController();
MLocationController locationController = (MLocationController) LocationController
.getController(controller.getModeController());
if (e.getModifiersEx() == 0) {
final NodeView nodeV = getNodeView(e);
final NodeModel node = nodeV.getModel();
locationController.moveNodePosition(node, LocationModel.getModel(node).getVGap(),
LocationModel.HGAP, 0);
return;
}
if (Compat.isCtrlEvent(e)) {
final NodeView nodeV = getNodeView(e);
final NodeModel node = nodeV.getModel();
locationController.moveNodePosition(node, LocationModel.VGAP, LocationModel.getModel(node)
.getHGap(), LocationModel.getModel(node).getShiftY());
return;
}
}