I’m glad to announce the initial release of odep – dependency graphs generator for OCaml modules, libraries and packages.
Some months ago I was frustrated with the lack of such modern tool (list of similar ones I found) and decided to code up one universal tool that covers all the use cases (xkcd reference). After interest from the community, I have now made a proper release of the tool on opam.
odep dune | dot -Tsvg in the project’s own repository produces the following comprehensive graph. It shows modules in the project itself, clustered by dune libraries, and other findlib libraries, clustered by opam packages. This information is gathered and combined from
dune describe workspace --with-deps, findlib and opam.
See README on GitHub for more usage examples.