Memgraph_kitty inspects ocaml values and displays their graphical representation using the graphics protocol of the kitty terminal emulator
Published: 31 Jan 2023
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.
Memgraph & Kitty
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
utop for instance).
WARNING: using this module in a terminal other thank kitty may lead to weird behaviour, such as filling your screen with weird characters.