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 Studio 2005 you can reverse engineer your Visual C++, Visual C#, or Visual Basic projects’ class definitions and generate UML static structure models in the Model Explorer. If you have Visio Professional 2007 installed, Visual Studio 2005 includes the Microsoft Visio UML Add-In, which you can run from within a Visual C++, Visual C#, or Visual Basic project. The add-in provides a menu command similar to the one shown in Figure 20-15. With the menu command or the associated toolbar button you can open Visio Professional 2007 and start a new diagram based on the UML Model Diagram template ...

Get Microsoft® Office Visio® 2007 Inside Out now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.