UML 主要的几种图

Use Case Diagrams
Use case diagrams model the functionality of system using actors and use cases.

 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Class Diagrams
Class diagrams are the backbone of almost every object oriented method, including UML. They describe the static structure of a system.

 

Object Diagrams
Object diagrams describe the static structure of a system at a particular time. They can be used to test class diagrams for accuracy.

 

Package Diagrams
Package diagrams are a subset of class diagrams, but developers sometimes treat them as a separate technique. Package diagrams organize elements of a system into related groups to minimize dependencies between packages.

 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Activity Diagrams
Activity diagrams illustrate the dynamic nature of a system by modeling the flow of control from activity to activity. An activity represents an operation on some class in the system that results in a change in the state of the system. Typically, activity diagrams are used to model workflow or business processes and internal operation.

 

Statechart Diagrams
Statechart diagrams describe the dynamic behavior of a system in response to external stimuli. Statechart diagrams are especially useful in modeling reactive objects whose states are triggered by specific events.

 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Sequence Diagrams
Sequence diagrams describe interactions among classes in terms of an exchange of messages over time.


Collaboration Diagrams
Collaboration diagrams represent interactions between objects as a series of sequenced messages. Collaboration diagrams describe both the static structure and the dynamic behavior of a system.

 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Component Diagrams
Component diagrams describe the organization of physical software components, including source code, run-time (binary) code, and executables.


Deployment Diagrams
Deployment diagrams depict the physical resources in a system, including nodes, components, and connections.

 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The Stucture of UML just as figure below:


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值