New to Telerik UI for WPFStart a free 30-day trial

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: Edge<TNodeData, TLinkData>

Properties

Gets or sets the identifier of this link.

C#
int Id { get; set; }
Property Value:

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; }
Property Value:

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; }
Property Value:

The source.

Gets the weight of this link.

C#
double Weight { get; set; }

Methods

Returns a shallow copy of this link.

C#
TLink Clone()
Returns:

TLink

Gets the other node of this link.

C#
TNode GetComplementaryNode(INode<TNode, TLink> node)
Parameters:nodeINode<TNode, TLink>

The complementary node which defines this link.

Returns:

TNode

Inverts this link by changing its direction.

C#
void Reverse()