Notgnoshi / includegraph

Generate preprocessor #include dependency graphs from a Clang compilation database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shorten absolute paths

Notgnoshi opened this issue · comments

Find a way to shorten absolute paths (the generate graphs are ugly with super wide nodes). Ideally, use the header name that was #included -- #include <foo/foo.h> should result in a foo/foo.h node, not the absolute path to foo.h.