当前位置:网站首页>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.
边栏推荐
- PAM 回文自动机
- qt-faststart 安装使用
- 小程序毕设作品之微信美食菜谱小程序毕业设计成品(8)毕业设计论文模板
- 【SeaTunnel】从一个数据集成组件演化成企业级的服务
- Small application project works WeChat stadium booking applet graduation design of the finished product (1) the development profile
- CF1703G Good Key, Bad Key
- 萍不回答
- 系统可用性:SRE口中的3个9,4个9...到底是个什么东西?
- 如何使用pywinauto和pyautogui将动漫小姐姐链接请回家
- RxJs SwitchMapTo 操作符之移花接木
猜你喜欢
联邦学习在金融领域的发展和应用
Wechat Gymnasium Appointment Mini Program Graduation Design Finished Work (4) Opening Report
域名重定向工具 —— SwitchHosts 实用教程
xctf attack and defense world web master advanced area web2
JS prototype hasOwnProperty in 加方法 原型终点 继承 重写父类方法
美赞臣EDI 940仓库装运订单详解
PDF转Word有那么难吗?做一个文件转换器,都解决了
程序员如何优雅地解决线上问题?
Mini Program Graduation Works WeChat Food Recipe Mini Program Graduation Design Finished Product (8) Graduation Design Thesis Template
关于ETL的两种架构(ETL架构和ELT架构)
随机推荐
Postman 批量测试接口详细教程
三、mysql 存储引擎-建库建表操作
小程序毕设作品之微信体育馆预约小程序毕业设计成品(4)开题报告
联邦学习的框架搭建
excel remove all carriage return from a cell
excel cell contian two words, seperated by a slash
Deep learning Course2 first week Practical aspects of Deep Learning exercises
Mini Program Graduation Works WeChat Food Recipe Mini Program Graduation Design Finished Product (8) Graduation Design Thesis Template
xctf攻防世界 Web高手进阶区 web2
Nacos配置中心之加载配置
y84.第四章 Prometheus大厂监控体系及实战 -- prometheus告警机制进阶(十五)
Go 微服务开发框架DMicro的设计思路
SQL29 Calculate the average next day retention rate of users
Graph Theory - Strongly Connected Component Condensation + Topological Sort
毫秒级!千万人脸库快速比对,上亿商品图片检索,背后的极速检索用了什么神器?
excel split text into different rows
SQL Server(设计数据库--存储过程--触发器)
联邦学习入门
PDF转Word有那么难吗?做一个文件转换器,都解决了
小程序毕设作品之微信体育馆预约小程序毕业设计成品(3)后台功能