Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automagically create class diagram from java code in umbrello?

Tags:

java

uml

umbrello

I was able to import the java code into umbrello.

However, how can I generate the class diagram automagically? Perhaps umbrello does not have that feature.

like image 746
U Avalos Avatar asked Feb 15 '12 15:02

U Avalos


People also ask

How can I automatically generate a UML diagram from a Java Project?

In the Project tool window, right-click a package for which you want to create a diagram and select Diagrams | Show Diagram Ctrl+Alt+Shift+U ). In the list that opens, select Java Class Diagram. IntelliJ IDEA generates a UML diagram for classes and their dependencies.

How do you make a Umbrello use case diagram?

To create a system in use case diagram, select System on the diagram toolbar and then click it on the diagram pane. Finally, name the newly created system when it is created.


1 Answers

From the handbook:

Note that Umbrello UML Modeller will not create any kind of Diagram for showing your classes, they will only be imported into your Model so that you can use them later in any diagram you want.

Once you've done that, it looks like you just drag and drop the items onto the class diagram and it even connects them for you.

like image 104
John Lehmann Avatar answered Sep 20 '22 02:09

John Lehmann