6

I have a somewhat large C# project which I am starting to lose overview of. I was wondering if there was some software out there which could graphically represent my classes, which calls what, and so forth.

I have tried googling around a little, but only found old software and Visual Studio extensions which did not enable for a direct import to output function.

Suggestions welcome :-)

Regards, John

John Magistr
  • 872
  • 3
  • 9
  • 22
  • You may have seen this, as I just found it by Googling, but it claims to do something along the lines of what you need : http://nclass.sourceforge.net/downloads.html – James Gaunt Apr 09 '13 at 13:15
  • 5
    How about Visual Studio built-in diagram file type? – ken2k Apr 09 '13 at 13:16
  • You dont need any special extension...Check this.. [link](http://stackoverflow.com/questions/1779842/auto-generate-class-diagrams-from-solution) – user1181942 Apr 09 '13 at 13:18

2 Answers2

13

You could use the built-in "class diagram" file type of Visual Studio.

Add a new class diagram to your project :

Add -> New Item -> Class diagram

Then drag and drop your classes to the diagram files:

enter image description here

ken2k
  • 48,145
  • 10
  • 116
  • 176
  • Doesn't work in VS 2015 for dnx (xproj) projects - "Class diagrams are not supported by this project type" :( – Dmitry Jan 19 '16 at 11:44
  • 1
    Havnt known about this one. Dude, I can even do changes inside the class diagram. How cool is that :D. Upvoted! Thanks. – C4d Jun 06 '16 at 10:19
4

Doxygen will generate beautiful hypertext diagrams from source code even for large projects. It uses graphviz library to draw the diagrams and provides an html help as an output. It works well for C-like languages.

Gabriel
  • 177
  • 13
alex
  • 12,464
  • 3
  • 46
  • 67