Automatically generate UML diagrams under Android Studio

Source: Internet
Author: User
Tags dashed line
Drawing a class diagram is a very troublesome thing. If there are tools to automatically generate class diagrams, then how good! A simple search, there really is. As (2.1) below a plugin code iris can be generated automatically.



1 Plug-in installation
Installation is simple, as below find plugin, search code iris, and then install, restart as a bit, it can be used.



2 use
Right-click the module, click Generate Graph, and in the left tab you can find the class diagram.




In the UML diagram, right-click to find the relevant section. You can also set filters to show the parts you care about. Filter conditions can be set according to conditions such as package name.


It is very convenient to use. Sometimes you may not see, there may be the following reasons:


--Select Show Hightlight, and the part you want to see is not labeled as hightlight, you need to select "Show All Classes" so that no matter whether the class is marked as Hightlight will be displayed
--Sometimes the card, to wait a little while, the picture will come out


A bit unaccustomed is that the UML diagram it draws is both solid and dashed. Dashed lines represent dependencies, solid lines represent associations, and in general there is a dependency relationship, so you don't have to draw a dashed line.



Automatically generate UML diagrams under Android Studio

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.