Table of Contents

Interface IEdge<TVertex>

Namespace
Graph1x.Edges
Assembly
Graph1x.dll

An edge connecting two vertices. Edge values are ordered pairs; undirected semantics (where a-b and b-a denote the same connection) are applied by the graph that stores the edge, not by the edge itself.

public interface IEdge<TVertex> where TVertex : notnull

Type Parameters

TVertex

The vertex type.

Properties

Source

Gets the vertex the edge starts at.

TVertex Source { get; }

Property Value

TVertex

Target

Gets the vertex the edge ends at.

TVertex Target { get; }

Property Value

TVertex