Releases: dominikbraun/graph
Releases · dominikbraun/graph
v0.23.0
Are you using graph? Check out the graph user survey
Added
- Added the
AllPathsBetweenfunction for computing all paths between two vertices.
v0.22.3
Changed
- Changed
StableTopologicalSortto invoke thelessfunction as few as possible, reducing comparisons. - Changed
CreatesCycleto use an optimized path if the default in-memory store is being used. - Changed map allocations to use pre-defined memory sizes.
v0.22.2
Fixed
- Fixed the major performance issues of
StableTopologicalSort.
v0.22.1
Fixed
- Fixed
TopologicalSortto retain its original performance.
v0.22.0
Added
- Added the
StableTopologicalSortfunction for deterministic topological orderings. - Added the
VertexAttributesfunctional option for setting an entire vertex attributes map.
v0.21.0
Added
- Added the
BFSWithDepthfunction for performing a BFS with depth information.
Fixed
- Fixed false positives of
ErrVertexHasEdgeswhen removing a vertex.
v0.20.0
Release post: graph Version 0.20 Is Out
Added
- Added the
Graph.AddVerticesFrommethod for adding all vertices from another graph. - Added the
Graph.AddEdgesFrommethod for adding all edges from another graph. - Added the
Graph.Edgesmethod for obtaining all edges as a slice. - Added the
Graph.UpdateEdgemethod for updating the properties of an edge. - Added the
Store.UpdateEdgemethod for updating the properties of an edge. - Added the
NewLikefunction for creating a new graph that is "like" the given graph. - Added the
EdgeAttributesfunctional option for setting an entire edge attributes map.
Changed
- Changed
Graph.Cloneto use the built-in in-memory store for storing vertices and edges for cloned graphs.
v0.19.0
Added
- Added the
MinimumSpanningTreefunction for finding a minimum spanning tree. - Added the
MaximumSpanningTreefunction for finding a maximum spanning tree.
v0.18.0
Added
- Added the
Graph.RemoveVertexmethod for removing a vertex. - Added the
Store.RemoveVertexmethod for removing a vertex. - Added the
ErrVertexHasEdgeserror instance. - Added the
Unionfunction for combining two graphs into one.
v0.17.0
Added
- Added the
draw.GraphAttributesfunctional option fordraw.DOTfor rendering graph attributes.
Changed
- Changed the library's GoDoc documentation.