EA Reverse Engineering - Code Generation Class Diagram

First open the EA, click "File" - "New Project" - name the project and select the project save destination. After completing the above operations, a dialog box "Select Model" will pop up


The meanings of several models in the figure are:

Business Process Business Process Model
Requirements Demand Analysis Model
Use Case Use Case Model
Domain Model Domain Model
Class Class Design Model
Database Database Design Model
Component Component Model
Deployment Deployment Model
Testing Test Model
Maintenance Maintenance Model
Project Management Project Management Model
User Interface The user interface model

       we use most is the class design model, database design model, use case design model, component model and deployment model. We can choose the model to be created according to our own needs. Of course, if we do not choose or choose the wrong one, we can make changes later, so this step is irrelevant.

Open the window of the class diagram, right-click in the blank of the form, and a shortcut menu will appear. In the shortcut menu, select "Import from Source File..." to select the language you want to import.


In the opened window, select the file you want to import.


After the import is completed, the following form is displayed, and the table is imported successfully.


The class diagram you want is so easy to complete~~~


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325472565&siteId=291194637