コード例 #1
0
  public JConnection addToTargetBendConnection(
      ConnectionType type, EntityFigure name, Integer occurences) {
    JConnection connection = addRightLeftConnection(type, name, occurences);
    connection.setSlightBendRouter();
    connection.setWriteStyle();

    return connection;
  }
コード例 #2
0
  public JConnection addToSourceBendConnection(
      ConnectionType type, EntityFigure name, Integer occurences) {
    JConnection connection = addLeftRightConnection(type, name, occurences);
    connection.setSlightBendRouter();
    connection.setDottedLine();
    connection.setWriteStyle();

    return connection;
  }