Ask HN: 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.
The now retired SourceTrail is still a pretty good tool, it supports C++, Java and Python https://github.com/CoatiSoftware/Sourcetrail
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
is there a way to have a graph of the dependencies?
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.
Wouldn’t this do it for you? https://docs.microsoft.com/en-us/visualstudio/modeling/map-d...
Is there not a lock file or equivalent that lists them all?
Bad dependencies?