Package | Description |
---|---|
com.yworks.yfiles.layout.hierarchic |
Provides hierarchic layout style algorithms.
|
Modifier and Type | Method and Description |
---|---|
void |
GroupingSupport.assignLabelNodesToGroups(ILayers layers,
IItemFactory itemFactory)
Assigns label nodes to groups.
|
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.
|
protected void |
HierarchicLayoutCore.createItemData(LayoutGraph g,
IItemFactory itemFactory)
Callback method that is called during
HierarchicLayoutCore.applyLayoutCore(LayoutGraph) , creates the INodeData and IEdgeData
instances and binds them to the elements using the given itemFactory . |
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 |
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 |
PortCandidateOptimizer.optimizeAfterSequencing(Node node,
Comparator<Object> inEdgeOrder,
Comparator<Object> outEdgeOrder,
LayoutGraph graph,
ILayoutDataProvider ldp,
IItemFactory itemFactory) |
protected abstract void |
AbstractPortConstraintOptimizer.optimizeAfterSequencing(Node node,
Comparator<Object> inEdgeOrder,
Comparator<Object> outEdgeOrder,
LayoutGraph graph,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Assigns new temporary port constraints to a given node of the graph after the order of the nodes in each layer has been
determined.
|
protected void |
AbstractPortConstraintOptimizer.removeSameLayerStructures(AbstractPortConstraintOptimizer.SameLayerData sameLayerData,
LayoutGraph graph,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Removes the same-layer edge structure created using
AbstractPortConstraintOptimizer.insertSameLayerStructures(LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory) . |
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.
|