Package | Description |
---|---|
com.yworks.yfiles.layout.router.polyline |
Provides classes and interfaces for automatic polyline routing of the edges of a graph.
|
Modifier and Type | Field and Description |
---|---|
static PenaltySettings |
PenaltySettings.OPTIMIZATION_BALANCED
Optimization strategy that balances bends and edge crossings in the edge routes.
|
static PenaltySettings |
PenaltySettings.OPTIMIZATION_EDGE_BENDS
Optimization strategy that minimizes bends in the edge routes.
|
static PenaltySettings |
PenaltySettings.OPTIMIZATION_EDGE_CROSSINGS
Optimization strategy that minimizes edge crossings in the edge routes.
|
static PenaltySettings |
PenaltySettings.OPTIMIZATION_EDGE_LENGTHS
Optimization strategy that minimizes the length of the edge routes.
|
Modifier and Type | Method and Description |
---|---|
PenaltySettings |
PenaltySettings.createCopy()
Creates a copy of this
PenaltySettings instance. |
PenaltySettings |
EdgeLayoutDescriptor.getPenaltySettings()
Gets the
PenaltySettings used for this edge. |
protected PenaltySettings |
PenaltySettings.newInstance()
Creates a new instance of
PenaltySettings . |
Modifier and Type | Method and Description |
---|---|
protected void |
PathSearch.decreasePenaltySettings(PenaltySettings penaltySettings,
double decreaseFactor,
PathSearchContext context)
Decreases the given penalty settings for the current edge.
|
void |
EdgeLayoutDescriptor.setPenaltySettings(PenaltySettings value)
Sets the
PenaltySettings used for this edge. |