Jvlonden
Jvlonden

Reputation: 165

How do I show (collection) associations in Visual Studio's generated class diagrams?

Visual studio doesn't seem to recognize c++ STL classes properly when it comes to generating class diagrams.

There are two options when right-clicking class elements in the generated diagrams: - Show as Association - Show as Collection Association

I would like to use both, but I use std::shared_ptr, std::vector, std::map and such, which Visual Studio won't recognize.

Is there an add-in I don't know about or another program that does a better job at reverse engineering existing classes to UML Class Diagrams?

Upvotes: 13

Views: 753

Answers (1)

serkan
serkan

Reputation: 146

This may be due to Visual Studio's limited C++ class diagram generation capabilities. It may not always parse complex templates such as STL correctly.

For example you can use StarUML or PlantUML

Upvotes: 0

Related Questions