Interface IEdgeLabelSyntax<T>
Extends the label syntax for labels created on an edge
public interface IEdgeLabelSyntax<T> : ILabelSyntax<T, IEdgeLabelSyntax<T>>
Type Parameters
TThe 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
posdoubleThe relative position of the label, from 0 (source anchor) to 1 (target anchor)
sideEdgeSideDenotes on which side the label is placed
rotateboolTrue, if the label should be rotated, otherwise false
offsetdouble?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
modeEdgeMoveModeThe mode in which the label can be moved
Returns
- IEdgeLabelSyntax<T>
A label syntax element for chaining purposes