22 lines
401 B
C#
22 lines
401 B
C#
///
|
|
/// Copyright (c) 2020 Sensus Slovensko a.s.
|
|
///
|
|
using System;
|
|
|
|
namespace SchematicDrawing
|
|
{
|
|
public class Edge
|
|
{
|
|
public int NodeId1;
|
|
public int NodeId2;
|
|
public int Distance;
|
|
|
|
public Edge(int nodeId1, int nodeId2, int distance = 1)
|
|
{
|
|
NodeId1 = nodeId1;
|
|
NodeId2 = nodeId2;
|
|
Distance = distance;
|
|
}
|
|
}
|
|
}
|