Click or drag to resize
NodeTNodeData, TLinkData Class
Default implementation of the NodeTNodeData, TLinkData interface.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Diagrams.CoreNodeTNodeData, TLinkData
    Telerik.Windows.Diagrams.CoreTreeNodeTNode, TLink

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class Node<TNodeData, TLinkData> : INode<Node<TNodeData, TLinkData>, Edge<TNodeData, TLinkData>>
where TNodeData : new()
where TLinkData : new()

Type Parameters

TNodeData
The type of the payload.
TLinkData
The type of the link data.

The NodeTNodeData, TLinkData type exposes the following members.

Constructors
  NameDescription
Public methodNodeTNodeData, TLinkData
Initializes a new instance of the NodeTNodeData, TLinkData class.
Public methodNodeTNodeData, TLinkData(IShape)
Initializes a new instance of the NodeTNodeData, TLinkData class.
Public methodNodeTNodeData, TLinkData(Int32, Boolean)
Initializes a new instance of the NodeTNodeData, TLinkData class.
Public methodNodeTNodeData, TLinkData(IShape, Boolean)
Initializes a new instance of the NodeTNodeData, TLinkData class.
Top
Methods
  NameDescription
Public methodAddIncomingEdge
Adds an incoming link.
Public methodAddOutgoingEdge
Adds an outgoing link.
Public methodClone
Returns a (shallow) copy of this node.
Public methodGetBoundsFromAssociatedShape
Gets the bounds from the associated shape, if possible.
Public methodGetCenterFromAssociatedShape
Gets the bounds from the associated shape.
Public methodRemoveIncomingEdge
Removes an incoming edge.
Public methodRemoveLink
Removes a link.
Public methodRemoveOutgoingEdge
Removes the given outgoing edge.
Public methodTransferBoundsToAssociatedShape
Transfers the bounds to the associated shape, if possible.
Public methodTransferCenterToAssociatedShape
Transfers the center to the associated shape, if possible.
Top
Properties
  NameDescription
Public propertyAllLinks
Gets all the links of this node.
Public propertyAssociatedShape
Get the shape associated with this layout shape.
Public propertyBoundingRectangle
Gets or sets the bounding rectangle of the shape.
Public propertyCenter
Gets or sets the geometric center of this ControlShape.
Public propertyChildren
Gets the children nodes attached to this node.
Public propertyData
Gets or sets the data or payload carried by this node.
Public propertyDegree
Returns the total number of links attached.
Public propertyId
Gets or sets Id.
Public propertyIncoming
Get the node's incoming links.
Public propertyIsDirected
Gets whether this node's links are directed.
Public propertyIsRoot
Gets or sets whether this node is a tree-root.
Public propertyIsVirtual
Gets or sets whether this node maps to a container or a collection of physical shapes.
Public propertyNeighbors
Gets the nodes adjacent to this node, i.e. both the Parents and Children nodes.
Public propertyOutgoing
Get the node's outgoing links.
Public propertyParents
Gets the parent nodes attached to this node.
Top
See Also