Settings

Theme

Ask HN: How to visualize the dependency graphs of my codebase?

10 points by toto007 · 7 comments · 1 min read


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.

6 threads
madduci

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

toto007OP

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

Wouldn’t this do it for you? https://docs.microsoft.com/en-us/visualstudio/modeling/map-d...

verdverm

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

Weryj

Bad dependencies?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection