Skip to content

Gbury/ocaml-memgraph

Repository files navigation

Build

Memgraph

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.

example

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 ocaml or utop for instance).

kitty

WARNING: using this module in a terminal other than kitty may lead to weird behaviour, such as filling your screen with weird characters.

About

A small library to output memory graph for ocaml values

Resources

License

Stars

Watchers

Forks

Packages

No packages published