• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 20. Diagramming Software Systems > Reverse Engineering Source Code

Reverse Engineering Source Code

Even if coding is underway, you can use UML diagrams to better understand a project. If you develop projects in Microsoft Visual C++ 6, Microsoft Visual Basic 6 (or newer versions of either), you can reverse engineer your projects’ class definitions and generate UML static structure models in the Model Explorer. Visio includes the Microsoft Visio UML Add-In, which you can run from within Visual C++, and the Microsoft Visio UML Visual Basic Add-In, which you can run from within Visual Basic. Each add-in provides a toolbar similar to the one shown in Figure 20-15. With the toolbar buttons, you can open Visio and start a new diagram based on the UML Model Diagram template from within Visual C++ or Visual Basic as well as reverse engineer source code. After you reverse engineer a project, you can create a class diagram in Visio by dragging elements from the static structure model onto the drawing page.

Figure 20-15. The UML add-in adds a toolbar to Visual C++ and Visual Basic. In Visual Basic, the Visio UML Options button does not appear.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint