2

I am trying to familiarize myself with a significant amount of existing code. Until recently I used to draw dependency graphs (Wikipedia, MSDN) between methods, by hand, to help me visualise the code. But this is very tedious.

Today this can also be automated using Visual Studio Ultimate's "Code Map", NDepend, and apparently also Debugger Canvas.

(And there are a lot of solutions to graphing project dependencies, but that is not what I want)

Can anyone suggest a way to speed up or automate the creation of such dependency graphs, without an expensive tool? Or am I stuck drawing them by hand? (I am counting Debugger Canvas as an expensive tool since it still requires Visual Studio Ultimate).

4
  • Noting the post <meta.stackexchange.com/questions/186245/…> I will try to rephrase my question. I realise that the answer does not need to be a tool/extension, but at the same time I believe it is a question that may benefit many developers. I have also drawn attention to some existing solutions to the problem that do not meet my needs, i.e. I have "[described] the problem and what has been done so far to solve it". Oct 29, 2013 at 22:11
  • When down-voting please motivate what is wrong with my question. i.e. (1) does it lack research effort (2) is it unclear (3) is it not useful (since those are the criteria for a downvote) Oct 29, 2013 at 23:05
  • What is the line between "Expensive tool" and "Non-expensive tool", is it just the line of being free vs non-free? Or would you be willing to spend something like $10, $15, $30, ...? Nov 2, 2013 at 16:33
  • @ScottChamberlain technically I mean zero marginal cost for me. Which probably implies free (Although a "free" solution that requires VS Professional is not really free, but does have zero marginal cost for me). I ask for a free solution, because my employer will not be willing to pay for such a tool, even though I would like to use it. I suppose I would consider an option costing $10-15, but not much more since I do not earn in USD. Nov 3, 2013 at 12:43

1 Answer 1

0

Doxygen will create them for you, though you'll need to install dot to get the graphics.

It will also take your xml doc comments and turn them into html (or other) documentation pages, and you can tell it to create caller and call graphs as well as the usual inheritance diagrams.

Doxygen is great (and free).

If you don't want the automated help, then I can only suggest a pad and a pencil.

1
  • Doxygen seems to support C# but it says nothing about .NET. It seems like this is the best solution available at present though. May 1, 2014 at 13:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.