StarUML Instructions for Use—Use Case Diagram, Sequence Diagram, Activity Diagram

Installation and inspection

Install StarUML first. StarUML-5.0-with-cm.rar

First check whether the Model Explorer video on the right side of the interface is displayed;

If it is not displayed, click on the top menu》view》Model Explorer to display it;

Create a use case diagram:

Select the root node "Untitled", right-click and select from the multi-menu, add>Use Case Model;

Set the color: Tools>Options: white background\black line\black text

 

Just drag the Actor out from the left side and double-click the graphic to rename it; Use Case is a use case, just drag it out and write the function points of your own service.

Double-click to lock. To lock, you click the mouse and use this component continuously (select other components to unlock);

How to draw a direct connecting line: select the line that has been drawn, ctrl+L;

Other note components: text, note;

Create a timing diagram:

Select a "<<useCaseModel>> Use Case Model", right-click the menu and select Add Diagram> Sequence Diagram;

Just drag out the Actor user from the right side, as shown below, and drag out the Object.

The serial number on the process is automatically generated: if the process sequence is adjusted, the serial number will be regenerated automatically. For example: I dragged "Check whether connected to wifi mesh" up, and the timing automatically changed to 1, and then the serial number was regenerated.

Response process: Select "RETURN" on the right side, and it will change to a dotted line;

Create an activity diagram:

Select a "<<useCaseModel>> Use Case Model", right-click the menu and select Add Diagram> Activity Diagram;

How to draw a direct connecting line: select the line that has been drawn, ctrl+L;

Output graphics

Export method 1: As shown below - HD Export method 2: ctrl+a, ctrl+c, ctrl+v

(There is no absolute standard for drawing UML diagrams. Just be able to draw the process clearly so that others can understand it.)

Effect diagram: timing diagram

Rendering: activity diagram 1

Rendering: activity diagram 2

Guess you like

Origin blog.csdn.net/hezhenfei8/article/details/127451603