Package | com.yworks.graph.model |
Interface | public interface ILabelCandidateDescriptor |
Implementors | LabelCandidateDescriptor |
ILabelModelParameter
.
Automatic labeling algorithms may require additional properties for a set of ILabelModelParameter
s.
This interface can be used to provide this information for a pair of ILabel
and ILabelModelParameter
via the ILabelCandidateDescriptorProvider
provider interface.
See also
Property | Defined By | ||
---|---|---|---|
externalCandidate : Boolean [read-only]
Gets a value indicating whether this candidate is deemed an external candidate. | ILabelCandidateDescriptor | ||
profit : Number [read-only]
Gets the profit to weigh in if this candidate is chosen. | ILabelCandidateDescriptor |
externalCandidate | property |
externalCandidate:Boolean
[read-only] Gets a value indicating whether this candidate is deemed an external candidate.
This is mainly for INode
labels, where the label may be a visual part of the
node's internals, but could be used for edge labels, too, if the edge occupies significant
amounts of space, visually.
public function get externalCandidate():Boolean
profit | property |
profit:Number
[read-only] Gets the profit to weigh in if this candidate is chosen.
public function get profit():Number