Is there any way to generate sequence diagram from android studio

I have created sample android project. Now i have to create sequence diagram for that. Is there any way to automatically generate sequence diagram for android project from android studio.

asked Nov 24, 2016 at 11:52 venkatesh gowda venkatesh gowda 851 2 2 gold badges 12 12 silver badges 26 26 bronze badges

3 Answers 3

Finally I got the solution.

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

It is very easy to use and works like charm.

Example

5,212 11 11 gold badges 48 48 silver badges 42 42 bronze badges answered Nov 26, 2016 at 5:53 venkatesh gowda venkatesh gowda 851 2 2 gold badges 12 12 silver badges 26 26 bronze badges Thanks a lot. It helped me like a charm Commented May 3, 2018 at 7:03 Where is it generated? I mean to which path? Commented Sep 21, 2018 at 6:17

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

  1. Download the zip file in the above link.
  2. Go to Android Studio>Preferences in Mac. For Windows File>Settings.
  3. Search for Plugins in search box. Then in right click on 'install plugin from disk'. Browse for the downloaded zip and select it, then Apply and it will show icon to restart android studio. Do it.
  4. Now go to any method in your java file and right click on it and click on 'Sequence Diagram'. And you will find your diagram in a tab besides Debug,Terminal, version control etc.