Is there any way to generate sequence diagram from android studio

空扰寡人 提交于 2019-12-04 03:59:16
venkatesh gowda

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.

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.

Justin

I think it's hard to get a sequence diagram. But we can generate a class diagram from Android Studio. We need to install an external plug-in.

Following this references below: How to generate Class Diagram (UML) on Android Studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!