UML 是啥

  The Unified Modeling Language (UML) is a general-purpose, developmental, modeling language in the field of software engineering
that is intended to provide a standard way to visualize the design of a system.

UML 中的十种图

  • 静态模型图: 描述系统的静态结构
    • 类图
    • 对象图
    • 包图
    • 组件图
    • 部署图
  • 动态模型图: 描述系统行为的各个方面
    • 用例图
    • 时序图
    • 活动图
    • 协作图
    • 状态图

UML 中的四种关系

  • 关联关系(association)
  • 依赖关系(dependency)
  • 泛化关系(generalization)
  • 实现关系(realization/implementation)