# \[ANN\] ocamlgraph 2.1.0

**URL:** https://discuss.ocaml.org/t/ann-ocamlgraph-2-1-0/12937
**Category:** Community
**Tags:** announce
**Created:** [September 1, 2023, 6:33am UTC](https://discuss.ocaml.org/t/ann-ocamlgraph-2-1-0/12937 "2023-09-01T06:33:14Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![backtracking](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/backtracking/32/2787_2.png) [@backtracking](https://discuss.ocaml.org/u/backtracking)
#### Post date: [September 1, 2023, 6:33am UTC](https://discuss.ocaml.org/t/ann-ocamlgraph-2-1-0/12937/1 "2023-09-01T06:33:14Z")

</div>

Hi,

It is my pleasure to announce a new release of [OCamlGraph](https://github.com/backtracking/ocamlgraph), a graph library for OCaml. It is already available in opam and it is documented [here](http://backtracking.github.io/ocamlgraph/).

Among other things, this release fixes an embarrassing bug in functions `Dfs.fold` and `Dfs.fold_component`, which were actually not implementing a depth-first traversal (yet a graph traversal). See the excellent post [Stack-based DFS is tricky to get right](https://11011110.github.io/blog/2013/12/17/stack-based-graph-traversal.html) for an explanation.

Note: We have deprecated the support of package `ocamlgraph_gtk`, a tool to display graphs using GTK. If you are using this package, please [make an issue](https://github.com/backtracking/ocamlgraph/issues) and we’ll discuss the options.

Jean-Christophe

---

_[View the full topic](https://discuss.ocaml.org/t/ann-ocamlgraph-2-1-0/12937)._
