当前位置:网站首页>UML diagram of soft skills
UML diagram of soft skills
2022-08-01 23:07:00 【Afei Technology】
UML diagram of soft skills
If you want to do well, you must first sharpen your tools. UML is a modeling tool that programmers need to use in the modeling process.
UML: Unified Modeling Language.The goal is to describe any kind of system in an object graph way.
UML can be divided into two categories: structural (describes a certain structure), behavioral (describes a certain behavior)
Structural UML includes: class diagram, object diagram, component diagram, deployment diagram, package diagram.
Behavioral UML includes: activity diagram, state machine diagram, sequence diagram, communication diagram, use case diagram, time diagram.
The various stages of software development
Requirements Analysis Phase:
Use Case Diagram: Consists of actors, use cases, boundaries, and their relationships to form a view that describes the functionality of a system.
Flowchart: Process-oriented, describing the process.
Outline Design Phase:
Class Diagram: The static structure of the model, the relationship between classes.
Object diagram: As a snapshot of the system at a certain moment, it is a static portrayal of the instances and their relationships of each class in the class diagram at a certain moment.Used to describe a set of objects at a time and the relationships between them.
Detailed Design Phase:
Sequence Diagram: Describes the chronological sequence of messages sent between objects showing the dynamic collaboration between multiple objects.
State Diagram: Describes the dynamic behavior of an entity in response to events.Focus on describing the results from the behavior.
Activity diagram: illustrates the workflow of a business use case.Focus on describing from the results of behavior, object-oriented, focusing on the performance of system behavior.
Sequence Diagram: Represents interactions as a two-dimensional diagram.
Communication diagram: A diagram showing the interaction of objects.
Deployment Phase:
Deployment diagram.
Several common pictures
Class Diagram
A class diagram is a diagram that describes a business concept.
There are six types of relationships between classes:
Inheritance: A child class inherits from a parent class.
Implementation: Implements classes and interfaces.
Association: A class object is related to another class object.(Combination and aggregation also belong to association relationship)
Dependency:A class method takes another class object as a parameter.(one-way)
Composition: The relationship between the whole and the part between the classes, the whole and the part have a consistent life cycle.
Aggregation: The whole-part relationship between classes, but member objects can exist independently of the whole object.
Relationships from strong to weak: inheritance->implementation->composition->aggregation->association->dependency.(The aggregation in DDD is consistent with the compositional relationship in UML)

Class diagram attribute representation:
+ public
- private
# protected
~ default
Abstract classes or abstract methods are in italics
Static classes or static methods are underlined
If the interface is on the classadd<<>>
UML diagram draws a class using the matrix representation of dividing lines:
The top is the class name.
The middle is the class attribute.
The following are the class methods.

Complete class diagram example:

Deployment diagram
A deployment diagram is a diagram used to describe how a system is deployed and the relationships between systems.
I drew a picture in 2018 and shared it later.

Flowchart
Flowchart: Process-oriented, a diagram that describes a process.
Common basic symbols:
Start/End: Indicates the beginning or end of a process.A flowchart has only one beginning and may have multiple ends.
Process: A step in a process to be processed.
Data: Indicates the input or output of data.
Judgment: Used to indicate a decision in the process.
Documentation: Represents written information pertaining to the process.
Flow Direction: Arrows indicate the flow direction of a process.

The ForkjoinPool execution flow chart I drew before, the leftmost ForkJoinWorkerThread#run is actually started by the main method for subsequent execution. For the convenience of understanding, two starts are drawn.

Comparison of activity diagrams and flowcharts:
Activity diagrams focus more on the behavioral relationship and sequence of activities between objects in a system.The flowchart can refer to the specific implementation steps of an algorithm, focusing on the processing process.
Activity diagrams can be executed concurrently, while flow charts are executed sequentially and have a time sequence.
Activity diagrams are object-oriented, and flowcharts are process-oriented.
Sequence diagram
Components:
Actor Actor: A system actor, which can be a human or other systems and subsystems.
Object Object: Object represents the role that the objects in the sequence diagram play in the interaction.
Lifeline: A lifeline represents the existence of an object in a sequence diagram over a period of time.
Control focus Activation: The period when an action is performed on behalf of an object in the sequence diagram.
Message Message: Defines classes for exchanging information in interaction and collaboration.

边栏推荐
- NgRx Selector 的 Memoization 特性学习笔记
- How to add a game character to a UE4 scene
- 将vim与系统剪贴板的交互使用
- Flutter基础学习(一)Dart语言入门
- 小程序毕设作品之微信美食菜谱小程序毕业设计成品(6)开题答辩PPT
- bat 之 特殊字符&转义
- 联邦学习的框架搭建
- When solving yolov5 training: "AssertionError: train: No labels in VOCData/dataSet_path/train.cache. Can not train"
- 小程序毕设作品之微信美食菜谱小程序毕业设计成品(8)毕业设计论文模板
- Ten years after graduation, financial freedom: those things that are more important than hard work, no one will ever teach you
猜你喜欢

研发团队数字化转型实践

img 响应式图片的实现(含srcset属性、sizes属性的使用方法,设备像素比详解)

xss相关知识点以及从 XSS Payload 学习浏览器解码
SQL29 Calculate the average next day retention rate of users

下载安装 vscode(含汉化、插件的推荐和安装)

小程序毕设作品之微信美食菜谱小程序毕业设计成品(8)毕业设计论文模板

毫秒级!千万人脸库快速比对,上亿商品图片检索,背后的极速检索用了什么神器?

chrome复制一张图片的base64数据

System availability: 3 9s, 4 9s in SRE's mouth... What is it?

系统可用性:SRE口中的3个9,4个9...到底是个什么东西?
随机推荐
深度学习Course2第二周Optimization Algorithms习题整理
xss相关知识点以及从 XSS Payload 学习浏览器解码
D - Linear Probing- 并查集
excel edit a cell without double clicking
【Verilog刷题篇】硬件工程师从0到入门1|基础语法入门
解决端口占用
Small application project works WeChat stadium booking applet graduation design of the finished product (1) the development profile
【参营经历贴】2022网安夏令营
Graph Theory - Strongly Connected Component Condensation + Topological Sort
SQL Server(设计数据库--存储过程--触发器)
How to use pywinauto and pyautogui to link the anime lady and sister please go home
Chapter 11 Working with Dates and Times
毕业作业
分享10套开源免费的高品质源码,免费源码下载平台
移动端人脸风格化技术的应用
Prufer序列
ROS2初级知识(8):Launching启动多节点
xctf攻防世界 Web高手进阶区 webshell
PAM Palindromic Automata
从0到100:招生报名小程序开发笔记