| Package | Description |
|---|---|
| com.yworks.yfiles.layout.hierarchic |
Provides hierarchic layout style algorithms.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPortConstraintOptimizer
This class is an abstract implementation of the
IPortConstraintOptimizer interface that minimizes the effort
required to modify the port assignment after the sequencing phase of hierarchic layout algorithm. |
class |
PortCandidateOptimizer
This class is an implementation of the
IPortConstraintOptimizer interface that tries to assign the edges of the
graph to ports considering the specified PortCandidates. |
| Modifier and Type | Method and Description |
|---|---|
protected IPortConstraintOptimizer |
HierarchicLayoutCore.createPortConstraintOptimizer()
Factory method that is called lazily upon first usage by
PortConstraintOptimizer
if the given IPortConstraintOptimizer instance is null. |
IPortConstraintOptimizer |
HierarchicLayoutCore.getPortConstraintOptimizer()
Gets the
IPortConstraintOptimizer instance responsible for optimizing the assignment of port constraints to the
adjacent edges of each node. |
| Modifier and Type | Method and Description |
|---|---|
void |
HierarchicLayoutCore.setPortConstraintOptimizer(IPortConstraintOptimizer value)
Sets the
IPortConstraintOptimizer instance responsible for optimizing the assignment of port constraints to the
adjacent edges of each node. |