A label model for node labels that lie inside the node's INode.layout bounds.
Implements
Inheritance Hierarchy
Remarks
This label model supports nine positions inside the layout's bounds.
It uses the label's ILabel.preferredSize for the size of the label layout.
Sample Graphs
See Also
Developer's Guide
Members
No filters for this type
Constructors
Properties
Gets or sets the padding to use within the node's INode.layout.
Gets or sets the padding to use within the node's INode.layout.
The default is
(2,2,2,2)conversion
Methods
Creates the parameter for the given position.
Creates the parameter for the given position.
Parameters
- position: InteriorNodeLabelModelPositionconversion
- The position.
Return Value
- InteriorNodeLabelModelParameter
- The parameter for the given position.
Provides a lookup context for the given label.
Provides a lookup context for the given label.
Returns the minimum size this model would require for the node owner of the label if the given label were used with the provided parameter.
Returns the minimum size this model would require for the node owner of the label if the given label were used with the provided parameter.
Parameters
- label: ILabel
- The label to use.
- layoutParameter: ILabelModelParameter
- The parameter to use.
Return Value
- Size
- The minimum size requirements for this label.
Returns the padding this model would require for the node owner of the label if the given label were used with the provided parameter.
Returns the padding this model would require for the node owner of the label if the given label were used with the provided parameter.
Parameters
- label: ILabel
- The label to use.
- layoutParameter: ILabelModelParameter
- The parameter to use.
Return Value
- Insets
- The padding rectangle.
Constants
A predefined parameter instance that places the label inside the node at the bottom.
A predefined parameter instance that places the label inside the node at the bottom.
This parameter's ILabelModelParameter.model is immutable. Trying to change its padding property will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label inside the node in the lower left corner.
A predefined parameter instance that places the label inside the node in the lower left corner.
This parameter's ILabelModelParameter.model is immutable. Trying to change its padding property will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label inside the node in the lower right corner.
A predefined parameter instance that places the label inside the node in the lower right corner.
This parameter's ILabelModelParameter.model is immutable. Trying to change its padding property will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label at the center of the node.
A predefined parameter instance that places the label at the center of the node.
This parameter's ILabelModelParameter.model is immutable. Trying to change its padding property will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label inside the node on the left side.
A predefined parameter instance that places the label inside the node on the left side.
This parameter's ILabelModelParameter.model is immutable. Trying to change its padding property will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label inside the node on the right side.
A predefined parameter instance that places the label inside the node on the right side.
This parameter's ILabelModelParameter.model is immutable. Trying to change its padding property will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label inside the node at the top.
A predefined parameter instance that places the label inside the node at the top.
This parameter's ILabelModelParameter.model is immutable. Trying to change its padding property will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label inside the node in the upper left corner.
A predefined parameter instance that places the label inside the node in the upper left corner.
This parameter's ILabelModelParameter.model is immutable. Trying to change its padding property will raise an InvalidOperationError.
static
Sample Graphs
A predefined parameter instance that places the label inside the node in the upper right corner.
A predefined parameter instance that places the label inside the node in the upper right corner.
This parameter's ILabelModelParameter.model is immutable. Trying to change its padding property will raise an InvalidOperationError.
static