using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Graph.Simple.Entities.Base;
using Graph.Simple.Enums;
namespace Graph.Simple.Entities
{
public class Edge : BaseGraphUnit
{
#region
public Node Start { private set; get; }
public Node End { private set; get; }
public float Weight { set; get; }
#endregion
public Edge(int ID, Graph graph, Node start, Node end) : base(ElementType.Edge, graph, ID)
{
Start = start;
End = end;
}
}
}