You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added the Graph.AddVertex method for adding a vertex. This replaces Graph.Vertex.
Added the Graph.AddEdge method for creating an edge. This replaces Graph.Edge.
Added the Graph.Vertex method for retrieving a vertex by its hash. This is not to be confused with the old Graph.Vertex function for adding vertices that got replaced with Graph.AddVertex.
Added the Graph.Edge method for retrieving an edge. This is not to be confused with the old Graph.Edge function for creating an edge that got replaced with Graph.AddEdge.
Added the Graph.Predecessors function for retrieving a vertex' predecessors.
Added the DFS function.
Added the BFS function.
Added the CreatesCycle function.
Added the StronglyConnectedComponents function.
Added the ShortestPath function.
Added the ErrEdgeNotFound error indicating that a desired edge could not be found.
Removed
Removed the Graph.EdgeByHashes method. Use Graph.AddEdge instead.
Removed the Graph.GetEdgeByHashes method. Use Graph.Edge instead.
Removed the Graph.DegreeByHash method. Use Graph.Degree instead.
Removed the Graph.Degree method.
Removed the Graph.DFS and Graph.DFSByHash methods. Use DFS instead.
Removed the Graph.BFS and Graph.BFSByHash methods. Use BFS instead.
Removed the Graph.CreatesCycle and Graph.CreatesCycleByHashes methods. Use CreatesCycle instead.
Removed the Graph.StronglyConnectedComponents method. Use StronglyConnectedComponents instead.
Removed the Graph.ShortestPath and Graph.ShortestPathByHash methods. Use ShortestPath instead.