The DiscreteNodeLabelLayoutModel type exposes the following members.

Constructors

  NameDescription
Public methodDiscreteNodeLabelLayoutModel()()()()
Returns a new instance of DiscreteNodeLabelModel.
Public methodDiscreteNodeLabelLayoutModel(DiscreteNodeLabelPosition)
Returns a new instance of DiscreteNodeLabelModel.
Public methodDiscreteNodeLabelLayoutModel(DiscreteNodeLabelPosition, Double)
Returns a new instance of DiscreteNodeLabelModel.

Methods

  NameDescription
Public methodCreateModelParameter
Creates a model parameter that represents the given node label context best within this model.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLabelCandidates
Returns a list of candidate positions for the given node label.
Public methodGetLabelPlacement(YDimension, INodeLayout, Object)
Returns the the oriented label position and bounds encoded by the given model parameter.
Protected methodGetLabelPlacement(YDimension, INodeLayout, DiscreteNodeLabelPosition)
Returns the oriented label position and bounds for a node label of the specified size.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsParameterValid
Checks if the given model parameter encodes a node label position that is valid in this model.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCandidateMask
Allowed candidate positions, default is all positions.
Public propertyDefaultParameter
A model parameter that encodes the default position of this model's allowed node label positions.
Public propertyDistance
The distance between the bounding boxes of label and node.

See Also