Interface IEdgeLabelSyntax<T>
Extends the label syntax for labels created on an edge
public interface IEdgeLabelSyntax<T> : ILabelSyntax<T, IEdgeLabelSyntax<T>>
Type Parameters
T
The semantic type of elements for which a label is created
- Inherited Members
- Extension Methods
Methods
At(double, EdgeSide, bool, double?)
Overrides the positioning of the label to a relative position
IEdgeLabelSyntax<T> At(double pos, EdgeSide side = EdgeSide.On, bool rotate = false, double? offset = null)
Parameters
pos
doubleThe relative position of the label, from 0 (source anchor) to 1 (target anchor)
side
EdgeSideDenotes on which side the label is placed
rotate
boolTrue, if the label should be rotated, otherwise false
offset
double?An offset to the next node or edge
Returns
- IEdgeLabelSyntax<T>
A label syntax element for chaining purposes
MoveMode(EdgeMoveMode)
Sets the move mode of the edge label
IEdgeLabelSyntax<T> MoveMode(EdgeMoveMode mode)
Parameters
mode
EdgeMoveModeThe mode in which the label can be moved
Returns
- IEdgeLabelSyntax<T>
A label syntax element for chaining purposes