16
  • Windows 10 64-bit
  • Microsoft Visual Studio Enterprise 2015 Version:14.0.25431.01 Update 3

I have a almost finished project and now I need to write a documentation. I found some information in the www which tells to "simply" generate UML from the existing code.

At the top Menu is a section with Architecture and there I can create new UML diagrams, but I can't import the classes which the project have. In all the other forum entries they was talking about a Architecture Explorer where you can simply drag and drop the needed classes and the dependencies are automatically created, but in my case this view is missing.

If you have some good advise how to document the software differently, you're welcome.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Daniel Eisenreich
  • 1,353
  • 3
  • 16
  • 32
  • I don't know your environment, but "just create UML" is not going to be a documentation. At best you get some graphics. You need to make a model from the scaffold you might get. This model can be basis of a documentation. – qwerty_so Dec 20 '16 at 14:01
  • @ThomasKilian yes I know. But my part of the project is to deliver the one side the implementation and on the other the fitting diagrams. – Daniel Eisenreich Dec 20 '16 at 17:14

2 Answers2

15

In solution explorer right click and:

add > item.. > General > class diagram

Then you can fairly easy make a domain model by dragging entity classes in and right click on a few properties and choose: "Show as association"

Thomas Koelle
  • 3,416
  • 2
  • 23
  • 44
9

To view UML diagram of your project, make right-click on your project and select View->Class diagram. Auto-generated UML of your project will be opened