tbf/SchematicDrawing/Edge.cs

24 lines
573 B
C#
Raw Normal View History

///
/// Copyright (c) 2020 Sensus Slovensko a.s.
///
using System;
namespace SchematicDrawing
{
public class Edge
{
public readonly int NodeId1;
public readonly int NodeId2;
public readonly int DefaultDist;
public readonly RouteCouple RouteCouple;
public Edge(int nodeId1, int nodeId2, int defaultDist = 20, RouteCouple routeCouple = RouteCouple.None)
{
NodeId1 = nodeId1;
NodeId2 = nodeId2;
DefaultDist = defaultDist;
RouteCouple = routeCouple;
}
}
}