Releases: dominikbraun/graph
Releases · dominikbraun/graph
v0.23.0
Are you using graph? Check out the graph user survey
Added
- Added the
AllPathsBetween
function for computing all paths between two vertices.
v0.22.3
Changed
- Changed
StableTopologicalSort
to invoke theless
function as few as possible, reducing comparisons. - Changed
CreatesCycle
to 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
TopologicalSort
to retain its original performance.
v0.22.0
Added
- Added the
StableTopologicalSort
function for deterministic topological orderings. - Added the
VertexAttributes
functional option for setting an entire vertex attributes map.
v0.21.0
Added
- Added the
BFSWithDepth
function for performing a BFS with depth information.
Fixed
- Fixed false positives of
ErrVertexHasEdges
when removing a vertex.
v0.20.0
Release post: graph Version 0.20 Is Out
Added
- Added the
Graph.AddVerticesFrom
method for adding all vertices from another graph. - Added the
Graph.AddEdgesFrom
method for adding all edges from another graph. - Added the
Graph.Edges
method for obtaining all edges as a slice. - Added the
Graph.UpdateEdge
method for updating the properties of an edge. - Added the
Store.UpdateEdge
method for updating the properties of an edge. - Added the
NewLike
function for creating a new graph that is "like" the given graph. - Added the
EdgeAttributes
functional option for setting an entire edge attributes map.
Changed
- Changed
Graph.Clone
to use the built-in in-memory store for storing vertices and edges for cloned graphs.
v0.19.0
Added
- Added the
MinimumSpanningTree
function for finding a minimum spanning tree. - Added the
MaximumSpanningTree
function for finding a maximum spanning tree.
v0.18.0
Added
- Added the
Graph.RemoveVertex
method for removing a vertex. - Added the
Store.RemoveVertex
method for removing a vertex. - Added the
ErrVertexHasEdges
error instance. - Added the
Union
function for combining two graphs into one.
v0.17.0
Added
- Added the
draw.GraphAttributes
functional option fordraw.DOT
for rendering graph attributes.
Changed
- Changed the library's GoDoc documentation.