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"