Package | com.yworks.graph.model |
Interface | public interface ILabelCandidateDescriptorProvider |
Implementors | ConstantLabelCandidateDescriptorProvider, DescriptorWrapperLabelModel, GenericLabelModel |
ILabelCandidateDescriptor
instances for a given combination of ILabel
s and
ILabelModelParameter
candidates.
This interface can be used by automatic labeling algorithms to help decide which labels candidate positions should be used.
See also
Method | Defined By | ||
---|---|---|---|
Gets the descriptor for a given combination of label and ILabelModelParameter. | ILabelCandidateDescriptorProvider |
getDescriptor | () | method |
public function getDescriptor(label:ILabel, parameter:ILabelModelParameter):ILabelCandidateDescriptor
Gets the descriptor for a given combination of label and ILabelModelParameter
.
Parameters
label:ILabel — The label to possibly assign the parameter .
| |
parameter:ILabelModelParameter — The parameter to provide a descriptor for if applied to the given label
|
ILabelCandidateDescriptor — A descriptor or null .
|