コード例 #1
0
  /**
   * Set the stabilization limit of the layout used to compute coordinates of nodes. See {@link
   * org.graphstream.ui.layout.Layout#setStabilizationLimit(double)} for more informations about
   * this limit.
   *
   * @param limit
   */
  public void setLayoutStabilizationLimit(double limit) {
    if (layout == null) throw new NullPointerException("did you enable layout ?");

    layout.setStabilizationLimit(limit);
  }