I am trying to understand a (more or less large) Ocaml project with lot of files and modules.
I am particularly interested, as a first step, in understanding the interfaces theses modules expose and how theses interfaces are used. I believe an UML component diagram would help with this.
My question is : Is there any tool that can generate the component diagram from Ocaml code?
I have in the past worked with a tool called Moose (http://moosetechnology.org/) that not only generates visualization of OO source code but also allows one to make queries and interact with diagrams to navigate specific aspects of the code. I wonder if such a tool exists for Ocaml (or more broadly, functional) code.
We also use modulectomy (or rather a fork) originally created by @Drup to visualize OCaml binary size as contributed by different OCaml modules. See for example the second visualization here: Job miragevpn-server 2024-09-05 15:27:23Z