documentationfor yFiles for HTML 3.0.0.3

Properties

edgeLabelCandidatesin GenericLabelingDataGets or sets a mapping from edge labels to their EdgeLabelCandidates.

Method Return Values

addDiscreteCandidates (DiscreteEdgeLabelPositions, number?, number?, boolean?, boolean?, number?)in EdgeLabelCandidatesAdds a set of candidates that allow placement of rotated edge labels at predefined positions along the edge.
addFixedCandidate (IOrientedRectangle, number?)in EdgeLabelCandidatesAdds a candidate that describes a label placement at a single fixed position.
addFreeCandidates (number?)in EdgeLabelCandidatesAdds a set of candidates that describe label placements freely chosen from the area near the label's edge.
addSliderCandidates (EdgeLabelSliderMode, number?, number?, boolean?, boolean?, number?)in EdgeLabelCandidatesAdds a set of candidates that allow placement of edge labels at continuous rotated positions along both sides of an edge or directly on the edge path.