HACKER Q&A
📣 toto007

How to visualize the dependency graphs of my codebase?


I am looking for a software to mac that visualize a dependency graph of my base-code in c#.

My goal is to have a quick way to find bad dependencies in my code and refactor them.


  👤 madduci Accepted Answer ✓
The now retired SourceTrail is still a pretty good tool, it supports C++, Java and Python https://github.com/CoatiSoftware/Sourcetrail

👤 pizza
You might be able to use CodeQL tooling for this https://codeql.github.com/docs/codeql-for-visual-studio-code... - write some CQL queries that can be bespoke to each question you're asking

👤 toto007
For now, I have discovered Doxygen. It generates dependency graphs for all classes and I can browse them. It is compatible with c # and mac os. Unfortunately it doesn't generate a complete graph which include my all classes but it seems like the best fit for mac os.

👤 maxlamb

👤 verdverm
Is there not a lock file or equivalent that lists them all?

👤 Weryj
Bad dependencies?