documentationfor yFiles for HTML 3.0.0.3

Properties

nodeLabelCandidatesin GenericLabelingDataGets or sets a mapping from node labels to their NodeLabelCandidates.

Method Return Values

addDiscreteCandidates (DiscreteNodeLabelPositions, number?, number?)in NodeLabelCandidatesAdds a set of candidates that describe label placements at eight positions around a node and nine positions inside the node.
addFixedCandidate (IOrientedRectangle, number?)in NodeLabelCandidatesAdds a candidate that describes a label placement at a single fixed position.
addFreeCandidates (number?)in NodeLabelCandidatesAdds a set of candidates that describe label placements freely chosen from the area near the label's node.