Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Create class diagram from Code? [duplicate]

I have project under version control. I need to study code that is not mine. I am trying to find a better way than writing down the classes and their relationships in UML.

Is there a tool that does this automatically?

Note: The files are read-only so I can not use a tool that would have to modify them. I am working in Eclipse environment.

like image 898
Jim Avatar asked Feb 08 '13 12:02

Jim


People also ask

How do you create a class diagram code?

To generate code from class diagram: Right click on the class diagram background and select Utilities > Java Round-trip > Generate Code from the popup menu. In the Generate Code dialog box, specify the source path where you want the code to be generated.

How do you copy a class diagram?

Copy all the elements in a class diagramRight-click the diagram surface and choose Select All, or press Ctrl + A. On the Edit menu, select Copy Image.

How do I create a class diagram using Visual Studio code?

To create a class designer, right-click a project and select Class Diagram from the Add New Item dialog box. Then specify the name of the diagram. Visual Studio creates the item with the defined name and a . cd extension.


1 Answers

this program is very helpful (should work with no code changes)

The ObjectAid UML Explorer

http://www.objectaid.com/home

like image 171
Nimrod007 Avatar answered Sep 22 '22 19:09

Nimrod007