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

边栏推荐
- excel edit a cell without double clicking
- visual studio code multiple editing
- 深度学习Course2第一周Practical aspects of Deep Learning习题整理
- Create virtual environments with virtualenv and Virtualenvwrapper virtual environment management tools
- 从0到100:招生报名小程序开发笔记
- SAP Spartacus NgExpressEngineDecorator 的工作原理
- 1391D. 505 状压dp
- 【C补充】链表专题 - 单向链表
- 用virtualenv和Virtualenvwrapper虚拟环境管理工具创建虚拟环境
- Quarantine and downgrade
猜你喜欢

小程序毕设作品之微信美食菜谱小程序毕业设计成品(6)开题答辩PPT

小程序毕设作品之微信体育馆预约小程序毕业设计成品(2)小程序功能

联邦学习在金融领域的发展和应用

华为无线设备配置双链路冷备份(AP指定配置方式)

From 0 to 100: Notes on the Development of Enrollment Registration Mini Programs

小程序毕设作品之微信体育馆预约小程序毕业设计成品(1)开发概要

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

(Translation) How the contrasting color of the button guides the user's actions

【Verilog刷题篇】硬件工程师从0到入门1|基础语法入门

解决yolov5训练时出现:“AssertionError: train: No labels in VOCData/dataSet_path/train.cache. Can not train ”
随机推荐
y84. Chapter 4 Prometheus Factory Monitoring System and Actual Combat -- Advanced Prometheus Alarm Mechanism (15)
【数据分析03】
浅析多服务在分布式系统下多事务通信处理机制方案
解决 win10 下 ISE14.7的 iMPACT 崩溃问题 - FPGA 笔记
APP专项测试:流量测试
1. @Component注解的原理剖析
如何给 UE4 场景添加游戏角色
[深入研究4G/5G/6G专题-48]: 5G Link Adaption链路自适应-4-下行链路自适应DLLA-PDCCH信道
13、学习MySQL 分组
如何使用pywinauto和pyautogui将动漫小姐姐链接请回家
域名重定向工具 —— SwitchHosts 实用教程
How to add a game character to a UE4 scene
数据库表设计规则
隔离和降级
毫秒级!千万人脸库快速比对,上亿商品图片检索,背后的极速检索用了什么神器?
Small application project works WeChat stadium booking applet graduation design of the finished product (1) the development profile
三、mysql 存储引擎-建库建表操作
CF1705D Mark and Lightbulbs
y84.第四章 Prometheus大厂监控体系及实战 -- prometheus告警机制进阶(十五)
CAKE:一个用于多视图知识图谱补全的可扩展性常识感知框架