PackageTrack
Sign in Get early access

graphs

Graph algorithms that operate on graphs in any representation.

2.3.2 7.6M downloads/mo #76 most downloaded on pub.dev dart-lang/tools

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 2.2 years

Nearly every release is documented

notes for 14 of 14 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

14 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

14 releases · Dec 2017 to Jul 2024
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 14
  1. 2.3.2 18 Jul 2024
    Release notes
    • Require Dart 3.4
    • Update to the latest version of package:dart_flutter_team_lints.
    Open source →
  2. 2.3.1 24 May 2023
    Release notes
    • Update package repository after move.
    Open source →
  3. 2.3.0 10 May 2023
    Release notes
    • Add a transitiveClosure function.
    • Make stronglyConnectedComponents and topologicalSort iterative rather than recursive to avoid stack overflows on very large graphs.
    • Require Dart 2.18
    Open source →
  4. 2.2.0 21 Oct 2022
    Release notes
    • Add a secondarySort parameter to the topologicalSort() function which applies an additional lexical sort where that doesn't break the topological sort.
    Open source →
  5. 2.1.0 14 Sep 2021
    Release notes
    • Add a topologicalSort() function.
    Open source →
  6. 2.0.0 19 Mar 2021
    Release notes
    • Breaking: crawlAsync will no longer ignore a node from the graph if the readNode callback returns null.
    Open source →
  7. 1.0.0 26 Feb 2021
    Release notes
    • Migrate to null safety.
    • Breaking: Paths from shortestPath[s] are now returned as iterables to reduce memory consumption of the algorithm to O(n).
    Open source →
  8. 0.2.0 12 Dec 2018
    Release notes
    • BREAKING shortestPath, shortestPaths and stronglyConnectedComponents now have one generic parameter and have replaced the key parameter with optional params: {bool equals(T key1, T key2), int hashCode(T key)}. This follows the pattern used in dart:collection classes HashMap and LinkedHashMap. It improves the usability and performance of the case where the source values are directly usable in a hash data structure.
    Open source →
  9. 0.1.3 07 Nov 2018
    Release notes
    • Added shortestPath and shortestPaths functions.
    • Use HashMap and HashSet from dart:collection for stronglyConnectedComponents. Improves runtime performance.
    Open source →
  10. 0.1.3+1 08 Nov 2018
    Release notes
    • Fixed a bug with non-identity key in shortestPath and shortestPaths.
    Open source →
  11. 0.1.2 23 Apr 2018
    Release notes
    • crawlAsync surfaces exceptions while crawling through the result stream rather than as uncaught asynchronous errors.
    Open source →
  12. 0.1.2+1 18 Jul 2018
    Release notes
    • Allow using non-dev Dart 2 SDK.
    Open source →
  13. 0.1.1 18 Apr 2018
    Release notes
    • crawlAsync will now ignore nodes that are resolved to null.
    Open source →
  14. 0.1.0 07 Dec 2017
    Release notes
    • Initial release with an implementation of stronglyConnectedComponents and crawlAsync.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive