How to Reverse Engineer UML Model in Visual Studio?

Reverse engineering is the process to reverse engineer UML model from source files in Visual Studio project. With reverse engineering you can visualize your program or system with class diagram. Before reverse engineering, you must open the UML project from the Visual Studio project.

Project Based Reverse Engineering

You can produce and update UML models from all source files in a Visual Studio project. Models of the selected project, child namespaces and classes will be created (if the models are not already exists) or updated. To reverse engineer from an Visual Studio project, right-click on the project node in Visual Studio and select Update UML Model from the popup menu.

Update the whole UML project from a Visual Studio project
Update the whole UML project from a Visual Studio project

Namespace Based Reverse Engineering

You can produce and update UML models from source files under namespace. Models of the selected namespace, child namespaces and classes will be created (if the models are not already exists) or updated. To reverse engineer from a namespace in a Visual Studio project, right-click on the namespace in any tree and select Update UML Model from the popup menu.

Update UML package and its containing classes from a namespace folder
Update UML package and its containing classes from a namespace folder

Class Based Reverse Engineering

You can produce and update UML models from classes in Visual Studio. Models of the selected class and child classes (inner class) will be created (if the models are not already exists) or updated. To reverse engineer code from a class in a Visual Studio project, right-click on the class file in any tree or in code editor and select Update UML Model from the popup menu.

Update UML model from source file
Update UML model from source file

Related Resources

The following resources may help you to learn more about the topic discussed in this page.

 
3. Opening a UML Project in Visual Studio Table of Contents 5. Code Generation from UML Model in Visual Studio

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.OK