Is there a way to generate a sequence diagram from android studio

I created a sample android project. Now I need to create a sequence diagram for this. Is there a way to automatically generate a sequence diagram for an android project from android studio.

+5
source share
3 answers

Finally, I got a solution.

I installed a plugin formerly called SequencePluginReload from Android Studio, now called SequenceDiagram

It is very easy to use and works like a charm.

Example

+8
source

I find it difficult to get a sequence diagram. But we can create a class diagram from Android Studio. We need to install an external plugin.

Following the links below: How to create a class diagram (UML) in Android Studio

+1
source

I downloaded the SequenceDiagram suggested by @venkatesh in the answer above, but didn't understand how to use it. After searching, I found how to use it.

  • Download the zip file to the link above.
  • Go to Android Studio> Preferences on Mac. For Windows file> Settings.
  • Search for plugins in the search box. Then right-click on the installation of the plugin from disk '. Find the downloaded zip code and select it, then click Apply and it will show an icon to restart Android Studio. Do this.

  • Now go to any method in your java file and right-click it and click "Sequence Diagram". And you will find your chart on the tab except Debug, Terminal, version control, etc.

0
source

Source: https://habr.com/ru/post/1260275/


All Articles