Пример #1
0
 public void addEdge(GraphNode from, GraphNode to)
 {
     //from.neighbours.Add(to);
     to.backElement = from;
 }
Пример #2
0
 public void addNode(GraphNode node)
 {
     nodeList.Add(node);
 }