public void addEdge(GraphNode from, GraphNode to) { //from.neighbours.Add(to); to.backElement = from; }
public void addNode(GraphNode node) { nodeList.Add(node); }