InterfaceIEdge<TNode, TLink>
Interface
Graph analysis link description.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Type Parameters:
TNode
The type of the node.
TLink
The type of the link.
Syntax:
cs-api-definition
public interface IEdge<TNode, TLink> where TNode : INode<TNode, TLink> where TLink : IEdge<TNode, TLink>
Properties
Id
Gets or sets the identifier of this link.
Sink
Gets or sets the sink of this link, i.e. the node at the end of the link.
Declaration
cs-api-definition
TNode Sink { get; set; }
Property Value
TNode
The sink node.
Source
Gets or sets the source of this link, i.e. the node at the beginning of the link.
Declaration
cs-api-definition
TNode Source { get; set; }
Property Value
TNode
The source.
Methods
Clone()
Returns a shallow copy of this link.
Declaration
cs-api-definition
TLink Clone()
Returns
TLink
GetComplementaryNode(INode<TNode, TLink>)
Gets the other node of this link.
Declaration
cs-api-definition
TNode GetComplementaryNode(INode<TNode, TLink> node)
Parameters
node
INode<TNode, TLink>
The complementary node which defines this link.
Returns
TNode