code: private double getX() {
          double res;
          switch (model().getEventModel().eventType()) {
              case CREATE_APPLICATION:
              case CREATE_COMMAND:
              case CREATE_COMMAND_FACADE:
                  res = 0;
                  break;
              case CREATE_GLOBAL_FACADE:
              case CREATE_NOTIFIER:
                  res = 70;
                  break;
              case CREATE_SERVICE_FACADE:
              case CREATE_SERVICE:
                  res = -200 * Math.cos(Math.PI / 6);
                  break;
              case CREATE_UI_FACADE:
              case CREATE_MODEL:
                  res = 200 * Math.cos(Math.PI / 6);
                  break;
  
              default:
                  res = 50;
          }
          return res;
      }
docs: Return the x coordinate.
  
  @return the x value