4 ms·
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.
- Weryj 5y agoBad dependencies?
- madduci 5y agoThe now retired SourceTrail is still a pretty good tool, it supports C++, Java and Python https://github.com/CoatiSoftware/Sourcetrail https://github.com/CoatiSoftware/Sourcetrail
- pizza 5y agoYou might be able to use CodeQL tooling for this https://codeql.github.com/docs/codeql-for-visual-studio-code/exploring-the-structure-of-your-source-code/ https://codeql.github.com/docs/codeql-for-visual-studio-code... - write some CQL queries that can be bespoke to each question you're asking
- a-chris 5y agois there a way to have a graph of the dependencies?
- verdverm 5y agoIs there not a lock file or equivalent that lists them all?
- maxlamb 5y agoWouldn’t this do it for you? https://docs.microsoft.com/en-us/visualstudio/modeling/map-dependencies-across-your-solutions https://docs.microsoft.com/en-us/visualstudio/modeling/map-d...
- toto007 5y agoFor 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.