Note: The UML Model Explorer is not available in Visio 2013 and newer versions. For information on UML diagrams in Visio 2013 and newer versions, see UML diagrams in Visio.
-
Customize Visual Basic. Here's how to do it:
-
In Visual Basic, on the Add-Ins menu, click Add-In Manager.
-
In the Add-In Manager dialog box, select Visio UML Add-In. For Load Behavior, select Loaded/Unloaded and Load On Startup, and then click OK. The Visio UML Add-In toolbar appears.
Tip: When the Visio UML Add-In creates the toolbar, it also adds commands to the Tools menu. You can locate the commands by clicking Visio UML Solution on the Tools menu.
-
-
Open the project that contains the source code you want to reverse engineer.
-
In Visual Basic, click the Reverse Engineer UML Model toolbar button on the Visio UML Add-In toolbar.
-
The Visio UML Model Diagram template opens with a blank static structure diagram drawing page and a tree view in the UML Model Explorer, populated with icons that reflect the class definitions in the source code.
-
In the UML model diagram, drag icons from the tree view onto the drawing page to create a static structure diagram that represents a view of the model.