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 mxGraphHierarchyModelmxHierarchicalLayout.modelThe 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 intmxMedianHybridCrossingReduction.calculateCrossings(mxGraphHierarchyModel model) Calculates the total number of edge crossing in the current graphprotected intmxMedianHybridCrossingReduction.calculateRankCrossing(int i, mxGraphHierarchyModel model) Calculates the number of edges crossings between the specified rank and the rank below itprotected voidmxCoordinateAssignment.calculateWidestRank(mxGraph graph, mxGraphHierarchyModel model) Calculates the width rank in the hierarchy.private voidmxCoordinateAssignment.initialCoords(mxGraph facade, mxGraphHierarchyModel model) Sets up the layout in an initial positioning.protected voidmxCoordinateAssignment.localEdgeProcessing(mxGraphHierarchyModel model) Separates the x position of edges as they connect to verticesprivate voidmxCoordinateAssignment.medianPos(int i, mxGraphHierarchyModel model) Performs one median positioning sweep in one directionprivate voidmxCoordinateAssignment.minNode(mxGraphHierarchyModel model) Performs one median positioning sweep in both directionsprotected voidmxCoordinateAssignment.minPath(mxGraphHierarchyModel model) Straightens out chains of virtual nodes where possibleprotected voidmxCoordinateAssignment.rankCoordinates(int rankValue, mxGraph graph, mxGraphHierarchyModel model) Sets up the layout in an initial positioning.protected voidmxCoordinateAssignment.rankMedianPosition(int rankValue, mxGraphHierarchyModel model, int nextRankValue) Performs median minimisation over one rank.protected booleanmxCoordinateAssignment.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 voidmxCoordinateAssignment.setCellLocations(mxGraph graph, mxGraphHierarchyModel model) Sets the cell locations in the facade to those stored after this layout processing step has completed.private voidmxMedianHybridCrossingReduction.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 voidmxMedianHybridCrossingReduction.weightedMedian(int iteration, mxGraphHierarchyModel model) Sweeps up or down the layout attempting to minimise the median placement of connected cells on adjacent ranks