UML diagram for building C + + projects using EA

Source: Internet
Author: User
VS comes with the "view Class Diagram" function is a bit too weak to explode, can only generate inheritance relationships, even more basic association relationship can not be generated. Let's look at how to use the modeling tools EA to generate powerful class diagrams.
The following example demonstrates the EA 11.0.1106 as an example
1. New Project
Create a new project for File, new project. In the pop-up model patterns, select class, click OK, and then press Alt+o to open project browser to see that the project already exists.


2. Import C + + Engineering
Right-click on the class model, after code Engineering. Import source directory, after selecting the project folder with the source code type, confirm.


3. View the class diagram
After you expand the source-generated package, double-click the class diagram to see the class diagram generated by the source code. Isn't that a nice feeling?

You can then delete the unimportant parts of the class diagram as needed, leaving the core part for easier viewing. At the same time, you can click on the "Diagram" menu under the layout Diagram re-pat Layout, make the layout more reasonable.

UML diagram for building C + + projects using EA

Related Article

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.