Table of Contents

Interface IDirectedGraphEdge<TKey, TNodeValue, TEdgeValue>

Namespace
LfrlAnvil.Collections
Assembly
LfrlAnvil.Collections.dll
public interface IDirectedGraphEdge<TKey, TNodeValue, TEdgeValue> where TKey : notnull

Type Parameters

TKey

Graph's key type.

TNodeValue

Graph node's value type.

TEdgeValue

Graph edge's value type.

Extension Methods

Properties

Direction

Direction of this edge, from Source to Target.

GraphDirection Direction { get; }

Property Value

GraphDirection

Source

Source node of this edge.

IDirectedGraphNode<TKey, TNodeValue, TEdgeValue> Source { get; }

Property Value

IDirectedGraphNode<TKey, TNodeValue, TEdgeValue>

Target

Target node of this edge.

IDirectedGraphNode<TKey, TNodeValue, TEdgeValue> Target { get; }

Property Value

IDirectedGraphNode<TKey, TNodeValue, TEdgeValue>

Value

Underlying value.

TEdgeValue Value { get; }

Property Value

TEdgeValue