Package com.mxgraph.layout.hierarchical.stage

Examples of com.mxgraph.layout.hierarchical.stage.mxCoordinateAssignment


  /**
   * Executes the placement stage using mxCoordinateAssignment.
   */
  public double placementStage(double initialX, Object parent)
  {
    mxCoordinateAssignment placementStage = new mxCoordinateAssignment(
        this, intraCellSpacing, interRankCellSpacing, orientation,
        initialX, parallelEdgeSpacing);
    placementStage.setFineTuning(fineTuning);
    placementStage.execute(parent);

    return placementStage.getLimitX() + interHierarchySpacing;
  }
View Full Code Here


  /**
   * Executes the placement stage using mxCoordinateAssignment.
   */
  public double placementStage(double initialX, Object parent)
  {
    mxCoordinateAssignment placementStage = new mxCoordinateAssignment(
        this, intraCellSpacing, interRankCellSpacing, orientation,
        initialX, parallelEdgeSpacing);
    placementStage.setFineTuning(fineTuning);
    placementStage.execute(parent);

    return placementStage.getLimitX() + interHierarchySpacing;
  }
View Full Code Here

  /**
   * Executes the placement stage using mxCoordinateAssignment.
   */
  public double placementStage(double initialX, Object parent)
  {
    mxCoordinateAssignment placementStage = new mxCoordinateAssignment(
        this, intraCellSpacing, interRankCellSpacing, orientation,
        initialX, parallelEdgeSpacing);
    placementStage.setFineTuning(fineTuning);
    placementStage.execute(parent);

    return placementStage.getLimitX() + interHierarchySpacing;
  }
View Full Code Here

TOP

Related Classes of com.mxgraph.layout.hierarchical.stage.mxCoordinateAssignment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.