A small library to output memory graph for ocaml values. Memgraph can be used
to generate graphs that represent the memory layout of any valid ocaml value.
Memgraph can produce .dot
files that can then be processed using the
graphviz suite of tools to generate images of the
memory graph of ocaml values.
You can look at the examples folder to see how to use memgraph.
For users of the kitty terminal emulator, you can
use the Memgraph_kitty
package and library to show the memory graph directly in a
toplevel session (using ocaml
or utop
for instance).
WARNING: using this module in a terminal other than kitty may lead to weird behaviour, such as filling your screen with weird characters.