Package | Description |
---|---|
com.yworks.yfiles.layout.hierarchic |
Provides hierarchic layout style algorithms.
|
Modifier and Type | Method and Description |
---|---|
ILayers |
ILayers.createInstance()
Creates a new and empty
ILayers instance that can be used on the same graph instance for temporary results. |
protected ILayers |
HierarchicLayoutCore.createLayers(ILayoutDataProvider ldp)
Factory method called during
HierarchicLayoutCore.applyLayoutCore(LayoutGraph) and creates an appropriate ILayers
implementation using the given ILayoutDataProvider instance. |
ILayers |
INodeData.getGroupLayers()
|
Modifier and Type | Method and Description |
---|---|
void |
GroupingSupport.assignEdgeGroupNodesToGroups(ILayers layers)
Assigns edge group nodes to groups based on a given
ILayers instance. |
void |
GroupingSupport.assignLabelNodesToGroups(ILayers layers,
IItemFactory itemFactory)
Assigns label nodes to groups.
|
void |
SimplexNodePlacer.assignLayerCoordinates(LayoutGraph graph,
ILayoutDataProvider layoutDataProvider,
ILayers layers) |
void |
INodePlacer.assignLayerCoordinates(LayoutGraph graph,
ILayoutDataProvider layoutDataProvider,
ILayers layers)
Assigns preliminary y-coordinates for each layer of a hierarchic layout.
|
void |
WeightedLayerer.assignLayers(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp)
Assigns all nodes of the graph to layers and adds them to the
ILayers instance. |
void |
TopologicalLayerer.assignLayers(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp)
Assigns all nodes of the graph to layers and adds them to the
ILayers instance. |
void |
MultiComponentLayerer.assignLayers(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp) |
void |
ILayerer.assignLayers(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp)
Assigns all nodes of the graph to layers and adds them to the
ILayers instance. |
void |
GivenLayersLayerer.assignLayers(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp)
Assigns all nodes of the graph to layers and adds them to the
ILayers instance. |
void |
ConstraintIncrementalLayerer.assignLayers(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp)
Assigns all nodes of the graph to layers and adds them to the
ILayers instance based on relative and absolute
layering constraints defined by the given layering constraints. |
void |
BFSLayerer.assignLayers(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp)
Assigns all nodes of the graph to layers and adds them to the
ILayers instance. |
void |
AspectRatioComponentLayerer.assignLayers(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp)
Assigns all nodes of the graph to layers and registers them to the
ILayers instance based on the given aspect
ratio. |
void |
AsIsLayerer.assignLayers(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp)
Assigns all nodes of the graph to layers by analyzing already existing node coordinates and adds them to the
ILayers
instance. |
void |
IPortAllocator.assignPorts(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Assigns to each edge of the graph a source port and target port coordinate pair.
|
void |
DefaultPortAllocator.assignPorts(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Assigns source and target port coordinates to each edge of the graph.
|
void |
SimplexNodePlacer.assignSequenceCoordinates(LayoutGraph graph,
ILayoutDataProvider layoutDataProvider,
ILayers layers,
IDrawingDistanceCalculator drawingDistanceCalculator) |
void |
INodePlacer.assignSequenceCoordinates(LayoutGraph graph,
ILayoutDataProvider layoutDataProvider,
ILayers layers,
IDrawingDistanceCalculator drawingDistanceCalculator)
Determines the resulting x-coordinates of a hierarchic layout.
|
void |
TypeBasedDrawingDistanceCalculator.dispose(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp) |
void |
IDrawingDistanceCalculator.dispose(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp)
Disposes of internal data structures.
|
void |
DefaultDrawingDistanceCalculator.dispose(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp) |
void |
TypeBasedDrawingDistanceCalculator.initialize(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp) |
void |
IDrawingDistanceCalculator.initialize(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp)
Initializes internal data structures.
|
void |
DefaultDrawingDistanceCalculator.initialize(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp) |
protected AbstractPortConstraintOptimizer.SameLayerData |
PortCandidateOptimizer.insertSameLayerStructures(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory) |
protected AbstractPortConstraintOptimizer.SameLayerData |
AbstractPortConstraintOptimizer.insertSameLayerStructures(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Inserts a same-layer edge structure for each same-layer edge of the original graph.
|
void |
ILayeredComponentsMerger.merge(LayoutGraph graph,
ILayoutDataProvider ldp,
ILayers srcLayers,
ILayers targetLayers)
Merges two
ILayers instances. |
void |
DefaultLayeredComponentsMerger.merge(LayoutGraph graph,
ILayoutDataProvider ldp,
ILayers srcLayers,
ILayers targetLayers) |
void |
PortCandidateOptimizer.optimizeAfterLayering(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory) |
void |
IPortConstraintOptimizer.optimizeAfterLayering(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Assigns new temporary port constraints after the layering information has been determined.
|
abstract void |
AbstractPortConstraintOptimizer.optimizeAfterLayering(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Assigns new temporary port constraints after the nodes have been assigned to layers.
|
protected void |
AbstractPortConstraintOptimizer.optimizeAfterSequencing(Comparator<Object> inEdgeOrder,
Comparator<Object> outEdgeOrder,
LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Assigns new temporary port constraints after the order of the nodes in each layer has been determined.
|
void |
PortCandidateOptimizer.optimizeAfterSequencing(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory) |
void |
IPortConstraintOptimizer.optimizeAfterSequencing(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Assigns new temporary port constraints after the sequence of the nodes has been determined.
|
void |
AbstractPortConstraintOptimizer.optimizeAfterSequencing(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Assigns new temporary port constraints after the order of the nodes in each layer has been determined.
|
protected void |
HierarchicLayoutCore.publishLayers(LayoutGraph graph,
ILayers layers)
Callback method that publishes the layering information.
|
protected void |
HierarchicLayoutCore.publishSequences(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp)
Callback method that publishes the sequencing information.
|
void |
GroupingSupport.removeEdgeGroupAssignment(ILayers layers)
Removes the current assignment of source/target edge groups from a given
ILayers instance. |
void |
ISequencer.sequenceNodeLayers(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Calculates the sequence of the nodes within each
layer . |
void |
GivenSequenceSequencer.sequenceNodeLayers(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Calculates the sequence of the nodes within a
ILayers instance based on the given Comparator instance. |
void |
DefaultLayerSequencer.sequenceNodeLayers(LayoutGraph graph,
ILayers glayers,
ILayoutDataProvider ldp,
IItemFactory itemFactory) |
void |
AsIsSequencer.sequenceNodeLayers(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Calculates the sequence of the nodes within each layer using the nodes' coordinates.
|