Interface IDirectedGraphEdge<TKey, TNodeValue, TEdgeValue>
- Namespace
- LfrlAnvil.Collections
- Assembly
- LfrlAnvil.Collections.dll
Represents a generic IDirectedGraph<TKey, TNodeValue, TEdgeValue> edge.
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
GraphDirection Direction { get; }
Property Value
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