'Create UML Diagram from C# Project [closed]

I am currently working with a big Library that I did not write myself, there are close to no comments at all and there is no API. Therefore I thought it would be helpful if I could parse the whole project to a UML Diagram, to get a better overview of how it is structured. My Questions are:

  1. Is there a way to automatically generate a UML Diagram from a C# project (not just one class)?

  2. Can you give me any Tips on how to get a good overview of the Library fast?



Solution 1:[1]

Visual Studio can produce a Class Diagram - its a pop-up menu option if you right click the project in Solution Explorer (right click project - View - Class Diagram. It will give you a static view of the classes and when expanded which ones that they rely on. There's also the Object Browser (under the View Menu).

Both options will probably give you information overkill.

Be aware that the Object Browser will also show you those libraries that your library code relies on, but you can at least change it to only show items with public access rights.

Installation: You have to add it separately to VisualStudio through the VisualStudio installer. It's called "Class Designer" in it.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 WhileTrueSleep