Program which can produce class diagrams directly from code

24,949

Solution 1

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

Solution 2

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.

Share:
24,949
John Magistr
Author by

John Magistr

Updated on July 05, 2022

Comments

  • John Magistr
    John Magistr almost 2 years

    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