:fireworks: Include graph visualization for C++
ig is a tool to interactively visualize include graphs for C++ projects
Point ig at any directory containing C++ source or header files and it will
construct a full graph of all includes, serve you a local website and visualize
the graph interactively with sigma.js, for you to admire.
Usage is very easy:
$ ig -o include
will inspect the folder include, serve a website on localhost:8080 and even
open your browser for you. The full set of options currently include:
…
But does it scale? It scales quite well. The graph you see above is the include graph for the entire LLVM and clang codebase, which spans more than 5,000 files and 1.5M LOC. Note that the visualization also includes sliders to group nodes by folder and filter out low-degree nodes.
Get it with pip:
$ pip install ig-cpp
Works with Python 2 and 3.
Who ever said C++ was an ugly language?
LLVM/ADT
TensorFlow
libc++ (the standard library)
Peter Goldsborough + cat :heart:
No open issues yet, or sync has not completed.