The StarDiagramNode type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| StarDiagramNode |
Initializes a new instance of the StarDiagramNode class.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Gets a StarDiagramNodeState holding information about this StarDiagramNode.
(Overrides DiagramNodeBase<(Of <(DiagramConnectionPoint>)>)..::.Clone()()().) | |
| GetCollisionBounds |
Returns the value of the Bounds property of this DiagramNodeBase.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).) | |
| IsAncestorOf |
Returns true if this StarDiagramNode is higher up in the star diagram parent
hierachy than the given node. That is, this method returns true if the given node is a child or sub-child
of this node. Returns false otherwise.
| |
| OnBoundsChanged |
Raises the BoundsChanged event.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).) | |
| OnDataChanged |
Raises the DataChanged event.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).) | |
| OnPropertyChanged |
Raises the PropertyChanged event.
(Inherited from ViewModelBase.) | |
| Set<(Of <(T>)>) |
Sets the value of a field, raising the PropertyChanged event if required.
(Inherited from ViewModelBase.) | |
| SetAs |
Unloads all the information from the given IDiagramNodeState and applies it to this
StarDiagramNode.
(Overrides DiagramNodeBase<(Of <(DiagramConnectionPoint>)>)..::.SetAs(IDiagramNodeState).) |
Fields
| Name | Description | |
|---|---|---|
| DefaultMass |
The default value for the Mass property.
|
Properties
| Name | Description | |
|---|---|---|
| Bounds |
Gets or sets the display location and size of the node.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).) | |
| CanOriginateNewConnections |
Gets whether or not this StarDiagramNode can originate new connections.
StarDiagramNode objects can originate any number of connections.
(Overrides DiagramNodeBase<(Of <(DiagramConnectionPoint>)>)..::.CanOriginateNewConnections.) | |
| CanReceiveNewConnections |
Gets whether or not this StarDiagramNode can recieve new connection.
StarDiagramNode objects can accept any number of inbound connections.
(Overrides DiagramNodeBase<(Of <(DiagramConnectionPoint>)>)..::.CanReceiveNewConnections.) | |
| Children | ||
| ConnectionPoints |
Gets the collection of connection points on this DiagramNode.
(Inherited from DiagramNode.) | |
| Data |
Gets the data represented by the node.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).) | |
| DefaultConnectionPoint |
Gets the MainConnectionPoint.
(Overrides DiagramNodeBase<(Of <(DiagramConnectionPoint>)>)..::.DefaultConnectionPoint.) | |
| IsResizable |
Gets or sets whether the DiagramNodeBase can be resized.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).) | |
| IsRoot |
Gets or sets whether or not this StarDiagramNode is a central root of a collection
of nodes.
| |
| Level |
Gets the level that this node sits in the star diagram node hierarchy.
A StarDiagramNode that has no StarDiagramParent is at level 0.
| |
| MainConnectionPoint |
Gets the main StarDiagramConnectionPoint situated on this StarDiagramNode.
Generally this will either be the only found StarDiagramConnectionPoint.
null is obtained if there are no connection points situated on this node.
| |
| Mass |
Gets or sets the mass of this node.
This is useful for layout algorithms.
| |
| NumberOfChildren |
Gets the number of nodes that this StarDiagramNode is a StarDiagramParent of.
This value is calculated on the fly.
| |
| Parent |
Gets the parent of the DiagramNodeBase. This implementation returns null, but can be overriden.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).) | |
| Root |
Gets the absolute root of this StarDiagramNode.
The absolute root is the recursive star diagram parent of this one that has a null
StarDiagramParent. A StarDiagramNode that has a null
star diagram parent is the root of itself.
| |
| Rotation |
Gets or sets the rotation of this DiagramNodeBase<(Of <(TConnectionPoint>)>).
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).) | |
| StarDiagramParent |
Gets the star diagram parent of this StarDiagramNode.
This parent is the StarDiagramNode at the 'source' end of a connection that this
node is the destination of.
| |
| Velocity |
Gets or sets the velocity vector of this StarDiagramNode.
This is useful for layout algorithms.
| |
| ZOrder |
Gets or sets the relative z-order.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).) |
Events
| Name | Description | |
|---|---|---|
| BoundsChanged |
Raised when the Bounds property changes.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).) | |
| DataChanged |
Raised when the Data property changes.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).) | |
| PropertyChanged |
Occurs when a property value changes.
(Inherited from ViewModelBase.) | |
| RotationChanged |
Raised when the Rotation property changes.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).) |