New Features
O/R Mapping
Tips and Tricks
UML Diagrams
VP Suite

Reversing Python

Reverse Engineering is often needed to analyze a source code of an application for identifying the system’s components and their interrelationships at a higher level of abstraction. Reverse Engineering is much used to reverse source code from an old system into class models for further analysis and development.

VP’s products provide the Instant Reverse feature for reverse engineering sources into UML class models easily, and Python has now been added to the extensive list of supported languages. Instant Reverse is supported in VP-UML and SDE in Standard or higher editions.

Animated Demo

In VP-UML

Select Tools > Instant Reverse > Python Source...

The Reverse dialog will show up. Enter the path of the python source file and then click OK to reverse the code.

A dialog box will appear saying the reversal is successful. Click OK.

The instant reverse form diagram dialog will show. Select the diagrams you want to view and then click OK.

The diagram is now shown in the diagram pane.

Eclipse and Visual Studio

Instant Reverse can also be used together with Eclipse or Visual Studio.

In Eclipse, select Modeling > Instant Reverse... and the Instant Reverse dialog box will show. Choose Python Source from the drop-down box and click on it.

The instant reverse Python dialog box will appear. Specify the path of the python source file and click OK. A dialog box will tell you when the reverse has successfully been completed.

Select the diagrams you want to want to view, then click OK.

The diagram is now shown in the diagram pane.

With Visual Studio, select Modeling > Instant Reverse.. Choose Python as the language to be reversed and specify the path of the Python files, then click OK.

Downloads

Resource

 
 
Last modified: 2007/08/07 10:22
 
 
Home | Recent Topics | Highlights | UML Diagrams | Tips and Tricks | Object-Relational Mapping
visual-paradigm.com Home | Training Center | UML Center | VP Gallery | Discussion Forum | UML Open Directory