Package | Description |
---|---|
com.yworks.yfiles.layout.hierarchic |
Provides hierarchic layout style algorithms.
|
Modifier and Type | Class and Description |
---|---|
class |
AsIsLayerer
AsIsLayerer assigns nodes to layers by analyzing already existing node coordinates. |
class |
AspectRatioComponentLayerer
|
class |
BFSLayerer
BFSLayerer uses a breadth first search for assigning layers to the nodes. |
class |
ConstraintIncrementalLayerer
This class is a
ILayerer implementation that observes relative and absolute layering constraints defined by the
layer constraint factory . |
class |
GivenLayersLayerer
This layering algorithm implementation assigns nodes to layers given a mapping of nodes to layer IDs.
|
class |
MultiComponentLayerer
|
class |
TopologicalLayerer
This class implements the layering phase of the
HierarchicLayout (i.e., assignment of the nodes to layers). |
class |
WeightedLayerer
This class implements the layering phase of the
HierarchicLayout (i.e., the assignment of the nodes to layers). |
Modifier and Type | Method and Description |
---|---|
protected ILayerer |
HierarchicLayoutCore.createIncrementalLayerer()
Factory method called during
HierarchicLayoutCore.applyLayoutCore(LayoutGraph) and creates an appropriate ILayerer
implementation. |
protected ILayerer |
HierarchicLayoutCore.createLayerer()
|
ILayerer |
HierarchicLayout.getFixedElementsLayerer()
Gets the
ILayerer instance that obtains the layering for fixed nodes during the incremental layout run. |
ILayerer |
HierarchicLayout.getFromScratchLayerer()
Gets the
ILayerer instance that obtains the layering for the nodes if the layout algorithm runs in
From Scratch mode . |
ILayerer |
HierarchicLayoutCore.getLayerer()
Gets the
ILayerer instance responsible for generating the layer assignment (first phase of the layout
algorithm). |
ILayerer |
MultiComponentLayerer.getSingleComponentLayerer()
Gets the delegate
ILayerer instance. |
ILayerer |
AspectRatioComponentLayerer.getSingleComponentLayerer()
Gets the delegate
ILayerer instance. |
Modifier and Type | Method and Description |
---|---|
void |
HierarchicLayout.setFixedElementsLayerer(ILayerer value)
Sets the
ILayerer instance that obtains the layering for fixed nodes during the incremental layout run. |
void |
HierarchicLayout.setFromScratchLayerer(ILayerer value)
Sets the
ILayerer instance that obtains the layering for the nodes if the layout algorithm runs in
From Scratch mode . |
void |
HierarchicLayoutCore.setLayerer(ILayerer value)
Sets the
ILayerer instance responsible for generating the layer assignment (first phase of the layout
algorithm). |
void |
MultiComponentLayerer.setSingleComponentLayerer(ILayerer value)
Sets the delegate
ILayerer instance. |
void |
AspectRatioComponentLayerer.setSingleComponentLayerer(ILayerer value)
Sets the delegate
ILayerer instance. |
Constructor and Description |
---|
AspectRatioComponentLayerer(ILayerer singleComponentLayerer)
Creates a new instance of
AspectRatioComponentLayerer using the given delegate ILayerer instance. |
ConstraintIncrementalLayerer(ILayerer coreLayerer)
Creates a new
ConstraintIncrementalLayerer with the given ILayerer instance. |
MultiComponentLayerer(ILayerer singleComponentLayerer)
Creates a new instance of
MultiComponentLayerer using the given delegate ILayerer . |
MultiComponentLayerer(ILayerer singleComponentLayerer,
ILayeredComponentsMerger merger,
Comparator<Object> componentComparator)
Creates a new instance of
MultiComponentLayerer using the given ILayeredComponentsMerger and Comparator
instances. |