当前位置:网站首页>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.

边栏推荐
- 深度学习Course2第二周Optimization Algorithms习题整理
- 联邦学习的框架搭建
- 小程序毕设作品之微信美食菜谱小程序毕业设计成品(8)毕业设计论文模板
- 联邦学习入门
- 小程序毕设作品之微信体育馆预约小程序毕业设计成品(2)小程序功能
- 下载安装 vscode(含汉化、插件的推荐和安装)
- [Recommended books] The first self-driving technology book
- 基于 OData 模型和 JSON 模型的 SAP UI5 表格控件行项目的添加和删除实现
- 13、学习MySQL 分组
- npm包【详解】(内含npm包的开发、发布、安装、更新、搜索、卸载、查看、版本号更新规则、package.json详解等)
猜你喜欢

chrome复制一张图片的base64数据

Flutter基础学习(一)Dart语言入门

Ten years after graduation, financial freedom: those things that are more important than hard work, no one will ever teach you

【参营经历贴】2022网安夏令营

【数据分析03】

系统可用性:SRE口中的3个9,4个9...到底是个什么东西?

Prufer序列

解决yolov5训练时出现:“AssertionError: train: No labels in VOCData/dataSet_path/train.cache. Can not train ”

13、学习MySQL 分组

联邦学习的框架搭建
随机推荐
NgRx Selector 的 Memoization 特性学习笔记
y84.第四章 Prometheus大厂监控体系及实战 -- prometheus告警机制进阶(十五)
联邦学习在金融领域的发展和应用
CF1705D Mark and Lightbulbs
PDF转Word有那么难吗?做一个文件转换器,都解决了
xss相关知识点以及从 XSS Payload 学习浏览器解码
NgRx Store createSelector 的单步调试和源代码分析
excel split text into different rows
Chapter 12 End-User Task As Shell Scripts
【好书推荐】第一本无人驾驶技术书
10年稳定性保障经验总结,故障复盘要回答哪三大关键问题?|TakinTalks大咖分享
从0到100:招生报名小程序开发笔记
TCP 可靠吗?为什么?
xctf攻防世界 Web高手进阶区 web2
PAM 回文自动机
简单3D渲染器的制作
2022年最新河北建筑八大员(机械员)模拟考试题库及答案
[机缘参悟-58]:《素书》-5-奉行仁义[遵义章第五]
如何给 UE4 场景添加游戏角色
Create virtual environments with virtualenv and Virtualenvwrapper virtual environment management tools