dotdep visualises code dependency as a Graphviz DOT file. natto core as a CLI tool.  Seems like working for most codebase not written in C.