mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 19:42:58 +00:00
20 lines
438 B
C#
20 lines
438 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Esiur.Analysis.Graph
|
|
{
|
|
public class Node<T>
|
|
{
|
|
public T Value { get; set; }
|
|
|
|
public int X { get; set; }
|
|
public int Y { get; set; }
|
|
|
|
public string Label { get; set; }
|
|
public List<Edge<T>> Destinations { get; } = new List<Edge<T>>();
|
|
public List<Edge<T>> Sources { get; } = new List<Edge<T>>();
|
|
|
|
}
|
|
}
|