Uses of Class
com.mxgraph.layout.hierarchical.model.mxGraphHierarchyModel
Packages that use mxGraphHierarchyModel
-
Uses of mxGraphHierarchyModel in com.mxgraph.layout.hierarchical
Fields in com.mxgraph.layout.hierarchical declared as mxGraphHierarchyModelModifier and TypeFieldDescriptionprotected mxGraphHierarchyModel
mxHierarchicalLayout.model
The internal model formed of the layoutMethods in com.mxgraph.layout.hierarchical that return mxGraphHierarchyModelModifier and TypeMethodDescriptionmxHierarchicalLayout.getModel()
Returns the model for this layout algorithm. -
Uses of mxGraphHierarchyModel in com.mxgraph.layout.hierarchical.stage
Methods in com.mxgraph.layout.hierarchical.stage with parameters of type mxGraphHierarchyModelModifier and TypeMethodDescriptionprivate int
mxMedianHybridCrossingReduction.calculateCrossings
(mxGraphHierarchyModel model) Calculates the total number of edge crossing in the current graphprotected int
mxMedianHybridCrossingReduction.calculateRankCrossing
(int i, mxGraphHierarchyModel model) Calculates the number of edges crossings between the specified rank and the rank below itprotected void
mxCoordinateAssignment.calculateWidestRank
(mxGraph graph, mxGraphHierarchyModel model) Calculates the width rank in the hierarchy.private void
mxCoordinateAssignment.initialCoords
(mxGraph facade, mxGraphHierarchyModel model) Sets up the layout in an initial positioning.protected void
mxCoordinateAssignment.localEdgeProcessing
(mxGraphHierarchyModel model) Separates the x position of edges as they connect to verticesprivate void
mxCoordinateAssignment.medianPos
(int i, mxGraphHierarchyModel model) Performs one median positioning sweep in one directionprivate void
mxCoordinateAssignment.minNode
(mxGraphHierarchyModel model) Performs one median positioning sweep in both directionsprotected void
mxCoordinateAssignment.minPath
(mxGraphHierarchyModel model) Straightens out chains of virtual nodes where possibleprotected void
mxCoordinateAssignment.rankCoordinates
(int rankValue, mxGraph graph, mxGraphHierarchyModel model) Sets up the layout in an initial positioning.protected void
mxCoordinateAssignment.rankMedianPosition
(int rankValue, mxGraphHierarchyModel model, int nextRankValue) Performs median minimisation over one rank.protected boolean
mxCoordinateAssignment.repositionValid
(mxGraphHierarchyModel model, mxGraphAbstractHierarchyCell cell, int rank, double position) Determines whether or not a node may be moved to the specified x position on the specified rankprotected void
mxCoordinateAssignment.setCellLocations
(mxGraph graph, mxGraphHierarchyModel model) Sets the cell locations in the facade to those stored after this layout processing step has completed.private void
mxMedianHybridCrossingReduction.transpose
(int mainLoopIteration, mxGraphHierarchyModel model) Takes each possible adjacent cell pair on each rank and checks if swapping them around reduces the number of crossingprivate void
mxMedianHybridCrossingReduction.weightedMedian
(int iteration, mxGraphHierarchyModel model) Sweeps up or down the layout attempting to minimise the median placement of connected cells on adjacent ranks