Skip to content

Releases: dominikbraun/graph

v0.23.0

05 Jul 12:49
c61dfea
Compare
Choose a tag to compare

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

14 Jun 13:05
08be5b3
Compare
Choose a tag to compare

Changed

  • Changed StableTopologicalSort to invoke the less 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

06 Jun 09:55
Compare
Choose a tag to compare

Fixed

  • Fixed the major performance issues of StableTopologicalSort.

v0.22.1

05 Jun 18:42
Compare
Choose a tag to compare

Fixed

  • Fixed TopologicalSort to retain its original performance.

v0.22.0

24 May 10:33
Compare
Choose a tag to compare

Added

  • Added the StableTopologicalSort function for deterministic topological orderings.
  • Added the VertexAttributes functional option for setting an entire vertex attributes map.

v0.21.0

18 May 19:32
Compare
Choose a tag to compare

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

01 May 13:31
2966b05
Compare
Choose a tag to compare

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

23 Apr 07:09
Compare
Choose a tag to compare

Added

  • Added the MinimumSpanningTree function for finding a minimum spanning tree.
  • Added the MaximumSpanningTree function for finding a maximum spanning tree.

v0.18.0

16 Apr 13:17
b5a223a
Compare
Choose a tag to compare

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

12 Apr 08:56
31d566b
Compare
Choose a tag to compare

Added

  • Added the draw.GraphAttributes functional option for draw.DOT for rendering graph attributes.

Changed

  • Changed the library's GoDoc documentation.