IEdge<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:
C#
public interface IEdge<TNode, TLink> where TNode : INode<TNode, TLink> where TLink : IEdge<TNode, TLink>
Derived Classes:
Properties
Gets or sets the identifier of this link.
C#
int Id { get; set; }
The identifier.
Sink
TNode
Gets or sets the sink of this link, i.e. the node at the end of the link.
C#
TNode Sink { get; set; }
The sink node.
Source
TNode
Gets or sets the source of this link, i.e. the node at the beginning of the link.
C#
TNode Source { get; set; }
The source.
Methods
Returns a shallow copy of this link.
C#
TLink Clone()
TLink
Gets the other node of this link.
C#
TNode GetComplementaryNode(INode<TNode, TLink> node)
The complementary node which defines this link.
Returns:TNode
Inverts this link by changing its direction.
C#
void Reverse()