Package | Description |
---|---|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
com.yworks.yfiles.layout.labeling |
Provides algorithms for the automatic placement of node and edge labels, so called generic labeling algorithms.
|
Modifier and Type | Class and Description |
---|---|
class |
EdgeLabelCandidate
An
EdgeLabelCandidate describes one valid placement for an edge label considering the label model. |
class |
ExtendedEdgeLabelCandidate
An
EdgeLabelCandidate that provides a candidate descriptor . |
class |
ExtendedNodeLabelCandidate
A
NodeLabelCandidate that provides a candidate descriptor . |
class |
NodeLabelCandidate
A
NodeLabelCandidate describes one valid placement for a node label considering the label model. |
Modifier and Type | Method and Description |
---|---|
double |
SimpleProfitModel.getProfit(LabelCandidate candidate) |
double |
IProfitModel.getProfit(LabelCandidate candidate)
Returns the profit for placing a label using the given
LabelCandidate . |
double |
ExtendedLabelCandidateProfitModel.getProfit(LabelCandidate candidate)
Returns the profit for placing a label-candidate.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMISLabeling.foundEdgeOverlap(LabelCandidate labelCandidate,
Edge edge,
LineSegment eSegment)
Indicates that an overlap between a
LabelCandidate and an Edge of the input graph has been found. |
protected void |
AbstractMISLabeling.foundHaloOverlap(LabelCandidate labelCandidate,
Node node,
YRectangle haloRect)
Indicates that an overlap between a
LabelCandidate and a NodeHalo of the input graph has been found. |
protected void |
AbstractMISLabeling.foundLabelOverlap(LabelCandidate candidate1,
LabelCandidate candidate2,
Edge edge)
Indicates that an overlap between two
LabelCandidate s has been found. |
protected void |
AbstractMISLabeling.foundNodeOverlap(LabelCandidate labelCandidate,
Node node,
YRectangle nodeBox)
Indicates that an overlap between a
LabelCandidate and a Node of the input graph has been found. |
double |
AbstractLabeling.getProfit(LabelCandidate candidate)
Returns the profit for placing a
LabelCandidate with respect to the current
profit model . |