How to Select UML Class from Source Code in Visual Studio?

Once a UML class is associated with a source file by code reversal/generation, you can select from source file the corresponding UML class in Visual Paradigm.

Selecting UML Class in Model Explorer

To select the UML class from a source file, right-click on the class file in any tree or in code editor and select Select In Model from the popup menu.

Open the UML class from a source file
Open the UML class from a source file

Selecting UML Class in Diagram

To select the view of UML class from a source file, right-click on the class file in any tree or in code editor and select Select In Diagram... from the popup menu. If the class has been visualized with multiple views, you will be prompted to select a view to open.

Open the view of UML class from a source file
Open the view of UML class from a source file

Related Resources

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

 
5. Code Generation from UML Model in Visual Studio Table of Contents 7. Selecting Source File in Visual Studio from UML Class

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