Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generating UML diagram in Android Studio

Tags:

android

uml

Android StudioWhat is the best tool for generating UML diagrams from Java source files in Android Studio? Are there any plugins similar to ObjectAid in Android Studio.

There is no Visual Paradigm EE shown as described http://www.visual-paradigm.com/support/documents/vpuserguide/2381/2385/66578_creatingauml.html

like image 762
Ranjana Dangol Avatar asked Feb 09 '15 10:02

Ranjana Dangol


People also ask

Can Android Studio generate class diagram?

Unfortunately, Android Studio does not support the generation of class diagrams out of the box, which forces us to choose from the following options: Use plugins or third party programs such as CodeIris or PlantUML. Use class diagrams from Intellij Idea Ultimate.

What is UML in Android?

UML (Unified Modeling Language) is the general-purpose modeling language used to visualize the system.

Can you generate UML from code?

Umbrello is a free software tool that supports a code import feature that automatically generates UML Class diagrams from your imported code. Umbrello supports up to 20 languages between C, C++, Python, Javascript and Java.


1 Answers

Try Code Iris. You can install it in Android Studio as a plugin.

Open Android Studio Settings: File -> Settings. Look for Plugins, then hit "Browse repositories..." and type "Code Iris". Install and restart your IDE.

There is another plugin that could be interesting too, which is PlantUML. You may need to install Graphviz in order to make it work.

  • Code Iris allows to export your diagram into a json file.
  • PlantUML allows to save your diagram as a PNG file.

Hope it helps.

like image 70
AJoe16 Avatar answered Oct 04 '22 20:10

AJoe16