An edge label model that places labels at positions near the source port, target port, or the center of the edge.
Implements
Inheritance Hierarchy
Remarks
The possible positions are near the source port, at the center of the edge, or near the target port, each above, below, or centered on the edge. The distance to the edge and the absolute angular orientation of the label can be specified.
Sample Graphs
See Also
Developer's Guide
Members
No filters for this type
Constructors
Initializes a new instance of the NinePositionsEdgeLabelModel class.
Initializes a new instance of the NinePositionsEdgeLabelModel class.
Parameters
- distance?: number
- The distance.
- angle?: number
- The angle.
Properties
Methods
createParameter
(position: NinePositionsEdgeLabelModelPosition): NinePositionsEdgeLabelModelParameterCreate a model parameter for the specified position
createParameter
(position: NinePositionsEdgeLabelModelPosition): NinePositionsEdgeLabelModelParameterCreate a model parameter for the specified
positionParameters
- position: NinePositionsEdgeLabelModelPositionconversion
- The position for this parameter
Return Value
- NinePositionsEdgeLabelModelParameter
- a model parameter for the specified
position
Provides a lookup context for the given label.
Provides a lookup context for the given label.
Constants
A predefined parameter instance that places the label at the center above the edge.
A predefined parameter instance that places the label at the center above the edge.
This parameter instance's ILabelModelParameter.model is immutable. Trying to change its angle or distance properties will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label at the center below the edge.
A predefined parameter instance that places the label at the center below the edge.
This parameter instance's ILabelModelParameter.model is immutable. Trying to change its angle or distance properties will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label at the center on the edge.
A predefined parameter instance that places the label at the center on the edge.
This parameter instance's ILabelModelParameter.model is immutable. Trying to change its angle or distance properties will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label at the source port above the edge.
A predefined parameter instance that places the label at the source port above the edge.
This parameter instance's ILabelModelParameter.model is immutable. Trying to change its angle or distance properties will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label at the source port below the edge.
A predefined parameter instance that places the label at the source port below the edge.
This parameter instance's ILabelModelParameter.model is immutable. Trying to change its angle or distance properties will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label at the source port on the edge.
A predefined parameter instance that places the label at the source port on the edge.
This parameter instance's ILabelModelParameter.model is immutable. Trying to change its angle or distance properties will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label at the target port above the edge.
A predefined parameter instance that places the label at the target port above the edge.
This parameter instance's ILabelModelParameter.model is immutable. Trying to change its angle or distance properties will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label at the target port below the edge.
A predefined parameter instance that places the label at the target port below the edge.
This parameter instance's ILabelModelParameter.model is immutable. Trying to change its angle or distance properties will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label at the target port on the edge.
A predefined parameter instance that places the label at the target port on the edge.
This parameter instance's ILabelModelParameter.model is immutable. Trying to change its angle or distance properties will raise an InvalidOperationError.
static