GraphEdge.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Graph.Simple.Entities.Internal
{
internal class GraphEdge : Edge
{
public GraphEdge(int ID, Graph graph, Node Start, Node End) : base(ID, graph, Start, End) { }
public override string ToString()
{
return string.Format("GraphEdge {0} {1} -> {2}",
ID, Start.ID, End.ID);
}
}
}