STARUML series, static and dynamic graphs, use case diagrams, Class diagrams "PS: Familiarize yourself with STARUML"

Source: Internet
Author: User
Tags staruml

Most: Static diagram section, static figure

1. Use case diagram, diagram

1. Display the core functions of the system and the user actor interacting with it

Representation: Ellipse

Sample1.sample2.

2. Standard

Use the StarUML tool, use Directedassociciation, click Export Diagram, Save as a picture

Two. Class diagram, Diagram

1. Individual classes

Add parameters to the handwriting code, use a colon, add return type after, change access control to the left, private, etc., export to JPEG

2. Use Directedassociation or association, use Dependcy, other aggregation or composition,generalization,realization as the case may be

Three. Object graph, Diagram

Demonstrates interaction between multiple objects and between features and objects, but is mainly expressed through class diagrams

1. How to create: Note: Add diagram does not have an object diagram, actually add Class diagram, the left symbol at the bottom has the object symbol

Click Object, the left-hand name, the colon-type, and connect using the link below the object, but be aware that the type that follows must be a type already in the class diagram

Four. Component diagram, Component diagram

Expressing components and the dependencies between them

1. Descriptive

Add component diagram, add component, use Dependcy Association to express dependencies

Five. Deployment diagram, Deployment diagram

Displays the physical device information used to deploy the software application, stating the location relationship after the actual deployment, and may be able to draw when deployed for the user

1. Descriptive

Add node, all nodes, use accosiciation to correlate

Most: Dynamic graph section, graph with time change

Six. Timing Diagram Sequence diagram

The most important diagram in a dynamic graph, capturing the interaction information between multiple objects over a period of time, emphasizing the chronological order of message interactions

Add sequence diagram, object, below is the timeline, different time lines with stimulus trigger relationship, call different object methods, the above method name, method internal call each other, you should add a different stimulus on the stimulus, is still the previous name , a colon is followed by a method that returns a type, self-invocation, selfstimulus, and, of course, does not force the return type.

Samples Step by step:

Sample1.sample2

Sample3

Sample4:create a WBS task

Seven. Collaboration diagram collaboration diagram

Create a collaboration diagram, add an object, use link on the relationship, click on link above add forward stimulus or reverse stimulus

Eight. State transition diagram Transition diagram

State change of the stated object

1. Create method: Add state transition Diagram Statechart Diagram, add initialstate, add finalstate, add finalstate, middle with transition connection

Nine. Activity diagram activities diagram

Similar flowchart

1. Create method: Add Initialstate, finalstate, middle use decision, add different actionstate, use transition connection

10. Appendix:

Concept: Package, available for naming, Member visibility, importing, extending, generalization.

Used primarily to partition the namespace of a class, the package graph relies on

STARUML series, static and dynamic graphs, use case diagrams, Class diagrams "PS: Familiarize yourself with STARUML"

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.