A label model for edge labels that uses a ratio on the edge's path to determine the position of the label.

Namespace: yWorks.yFiles.UI.LabelModels
Assembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)

Syntax

C#
[ObfuscationAttribute(StripAfterObfuscation = false, Exclude = true, 
	ApplyToMembers = false)]
public class RotatingEdgeLabelModel : ILabelModel, 
	ILookup, ILabelModelParameterProvider
Visual Basic
<ObfuscationAttribute(StripAfterObfuscation := False, Exclude := True,  _
	ApplyToMembers := False)> _
Public Class RotatingEdgeLabelModel _
	Implements ILabelModel, ILookup, ILabelModelParameterProvider

Remarks

This model allows for specifying the angle between the edge's path and the label's baseline.

Note that RotatedSliderEdgeLabelModel and RotatedSideSliderEdgeLabelModel usually are a better alternative since they provide a continuous set of label candidates.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.LabelModels..::..RotatingEdgeLabelModel

See Also