/// <summary> /// Adds an edge to the network from->to. /// </summary> /// <param name="from">The index of the start node.</param> /// <param name="to">The index of the end node.</param> /// <param name="data">The data associated with the edge.</param> public void AddEdgeOneWay(int from, int to, T data) { _adjacencyList.AddEdgeAtEnd(from, to, data); }