public JConnection addToTargetBendConnection(
      ConnectionType type, EntityFigure name, Integer occurences) {
    JConnection connection = addRightLeftConnection(type, name, occurences);
    connection.setSlightBendRouter();
    connection.setWriteStyle();

    return connection;
  }
  public JConnection addToSourceBendConnection(
      ConnectionType type, EntityFigure name, Integer occurences) {
    JConnection connection = addLeftRightConnection(type, name, occurences);
    connection.setSlightBendRouter();
    connection.setDottedLine();
    connection.setWriteStyle();

    return connection;
  }