scala-graph / scala-graph   1.13.2

Apache License 2.0 GitHub

Graph for Scala is intended to provide basic graph functionality seamlessly fitting into the Scala Collection Library. Like the well known members of scala.collection, Graph for Scala is an in-memory graph library aiming at editing and traversing graphs, finding cycles etc. in a user-friendly way.

Scala versions: 2.13

Graph for Scala

This is the source code repository and issue tracker for Graph for Scala.

Questions or any feedback are appreciated. Please use GitHub issues for proven issues or enhancement requests, not for questions.

You are also welcome as a co-contributor.

Have fun with Graph for Scala.

Peter

Branches

1.x started in 2011, is now superseeded by 2.x. It evolved by paying high attention to version compatibility.

2.x, the default branch, started in 2019 to make some significant improvements that also needed new, simplified signatures. The new features include

  • multiple sources for directed hyperedges
  • easy edge class definition using case classes, thus easy definition of ADTs for edges
  • improved functional graph handling.

2.0 was released in May 2023.

persistent opened in January 2024 with the aim of implementing a persistent data structure.