Dissect OCaml compiled programs, and weight their content.
modulectomy
allows you to visualize the size of your OCaml programs and the
contributions by various libraries/modules.
See an example.
For simple usage, se the definition of squarify
in src/main.ml
.
For more advanced usage, including scale-SVG, see how it's used in builder-web.