Usages of LabelCandidate
Properties
| edgeLabelCandidatesResult | in GenericLabelingData | Gets a mapper from edge labels to the LabelCandidates chosen by the labeling algorithm. | |
| nodeLabelCandidatesResult | in GenericLabelingData | Gets a mapper from node labels to the LabelCandidates chosen by the labeling algorithm. |
Fields
| EDGE_LABEL_CANDIDATE_RESULT_DATA_KEY | in GenericLabeling | A data key for publishing the chosen candidates for all affected edge labels. | |
| NODE_LABEL_CANDIDATE_RESULT_DATA_KEY | in GenericLabeling | A data key for publishing the chosen candidates for all affected node labels. |
Method Return Values
| buildCandidates (LayoutEdgeLabel) | in EdgeLabelCandidates | Returns all LabelCandidates that describe valid label positions. | |
| buildCandidates (LayoutNodeLabel) | in NodeLabelCandidates | Returns all LabelCandidates that describe valid label positions. | |
| createEdgeLabelCandidate (ILabel, ILabel, ILabelModelParameter, LayoutEdgeLabel) | in LayoutGraphAdapter | Creates the LabelCandidate for a given label and ILabelModelParameter combination. | |
| createNodeLabelCandidate (ILabel, ILabel, ILabelModelParameter, LayoutNodeLabel) | in LayoutGraphAdapter | Creates a LabelCandidate for a given label and ILabelModelParameter combination. |
Method Parameters
| getOverlapCost (LabelCandidate, LabelCandidate) | in GenericLabeling | Can be used in custom implementations of modifyWeights to query the calculated overlap costs for the given LabelCandidates. | |
| setOverlapCost (LabelCandidate, LabelCandidate, number) | in GenericLabeling | Can be used in custom implementations of modifyWeights to set custom overlap penalties for the given LabelCandidates. |
Extending Types
| ExtendedEdgeLabelCandidate | A LabelCandidate that is associated with a label model parameter. | |
| ExtendedNodeLabelCandidate | A LabelCandidate that is associated with a label model parameter. |