统一建模语言 UML 参考手册 - 基本概念���������������������������������������������������������������������������������������������� ��� 实现��������������������������������������������������������������������������������������������������� 具有静态 动态 环境上的和组织性的部分 它可以被具有 代码产生和报表生成的交互式可视建模工具所支持 ��� 规范没有定义标准过程 但可用 于迭代的开发过程 并支持现有的大多数面向对象的开发过程 � ��� 捕捉系统静态结构和动态行为的信息 系统建模成独立对象的集合 它们互相交互 以实现功能 从而最终使外部使用者获益 静态结构定义了对系统具有重要意义的各种对 象和实现 以及它们之间的关系 动态行为定义了对象时间上的历史和为达成目标对象间 从不同但是相关的视角来对系统建模 允许了多种角度对系统的理解 � ��� 还包括用包来分解模型的组织性结构 它允许软件团队将系统分解为可工作的单 元 对包之间的依赖进行理解和在复杂的开发环境中管理模型单元的版本 它包含了表达 实现上的决策和用构件来组织运行时元素的结构 � ��� 不是编程语言 工具可以提供 ��� 至各种编程语言的代码生成 以及可以从现有 的程序逆向构筑模型 ��� 不是用于定理证明的高度正式的语言 实际上有很多正式的语0 码力 | 123 页 | 2.61 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.9)demonstrates\nmultiline \ntext @enduml 1.5 修改箭头样式 修改箭头样式的方式有以下几种: • 表示一条丢失的消息:末尾加 x • 让箭头只有上半部分或者下半部分:将 < 和 > 替换成 \ 或者 / • 细箭头:将箭头标记写两次 (如 >> 或 //) • 虚线箭头:用 -- 替代 - PlantUML 语言参考指引 (1.2019.9) 3 / Alice : Yet another authentication Response @enduml 你可以在双引号内指定编号的格式。 格式是由 Java 的 DecimalFormat 类实现的:(0 表示数字;# 也表示数字,但默认为 0)。 你也可以用 HTML 标签来制定格式。 @startuml autonumber "[000]" Bob -> Alice : Authentication Response @enduml PlantUML 语言参考指引 (1.2019.9) 12 / 173 1.16 引用 1 时序图 1.16 引用 你可以在图中通过使用 ref over 关键词来实现引用 @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over0 码力 | 174 页 | 2.00 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.6)demonstrates\nmultiline \ntext @enduml 1.5 修改箭头样式 修改箭头样式的方式有以下几种: • 表示一条丢失的消息:末尾加 x • 让箭头只有上半部分或者下半部分:将 < 和 > 替换成 \ 或者 / • 细箭头:将箭头标记写两次 (如 >> 或 //) • 虚线箭头:用 -- 替代 - PlantUML 语言参考指引 (1.2019.6) 3 / Alice : Yet another authentication Response @enduml 你可以在双引号内指定编号的格式。 格式是由 Java 的 DecimalFormat 类实现的:(0 表示数字;# 也表示数字,但默认为 0)。 你也可以用 HTML 标签来制定格式。 @startuml autonumber "[000]" Bob -> Alice : Authentication Response @enduml PlantUML 语言参考指引 (1.2019.6) 12 / 173 1.16 引用 1 时序图 1.16 引用 你可以在图中通过使用 ref over 关键词来实现引用 @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over0 码力 | 174 页 | 1.98 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.1)demonstrates\nmultiline \ntext @enduml 1.5 修改箭头样式 修改箭头样式的方式有以下几种: • 表示一条丢失的消息:末尾加 x • 让箭头只有上半部分或者下半部分:将 < 和 > 替换成 \ 或者 / • 细箭头:将箭头标记写两次 (如 >> 或 //) • 虚线箭头:用 -- 替代 - PlantUML 语言参考指引 (1.2019.1) 3 / Alice : Yet another authentication Response @enduml 你可以在双引号内指定编号的格式。 格式是由 Java 的 DecimalFormat 类实现的:(0 表示数字;# 也表示数字,但默认为 0)。 你也可以用 HTML 标签来制定格式。 @startuml autonumber "[000]" Bob -> Alice : Authentication Response @enduml PlantUML 语言参考指引 (1.2019.1) 11 / 145 1.16 引用 1 时序图 1.16 引用 你可以在图中通过使用 ref over 关键词来实现引用 @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over0 码力 | 146 页 | 1.91 MB | 1 年前3
PlantUML 1.2019.3 语言参考指引demonstrates\nmultiline \ntext @enduml 1.5 修改箭头样式 修改箭头样式的方式有以下几种: • 表示一条丢失的消息:末尾加 x • 让箭头只有上半部分或者下半部分:将 < 和 > 替换成 \ 或者 / • 细箭头:将箭头标记写两次 (如 >> 或 //) • 虚线箭头:用 -- 替代 - PlantUML 语言参考指引 (1.2019.3) 3 / Alice : Yet another authentication Response @enduml 你可以在双引号内指定编号的格式。 格式是由 Java 的 DecimalFormat 类实现的:(0 表示数字;# 也表示数字,但默认为 0)。 你也可以用 HTML 标签来制定格式。 @startuml autonumber "[000]" Bob -> Alice : Authentication Response @enduml PlantUML 语言参考指引 (1.2019.3) 12 / 156 1.16 引用 1 时序图 1.16 引用 你可以在图中通过使用 ref over 关键词来实现引用 @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over0 码力 | 157 页 | 1.78 MB | 1 年前3
PlantUML 1.2019.2 语言参考指引demonstrates\nmultiline \ntext @enduml 1.5 修改箭头样式 修改箭头样式的方式有以下几种: • 表示一条丢失的消息:末尾加 x • 让箭头只有上半部分或者下半部分:将 < 和 > 替换成 \ 或者 / • 细箭头:将箭头标记写两次 (如 >> 或 //) • 虚线箭头:用 -- 替代 - PlantUML 语言参考指引 (1.2019.2) 3 / Alice : Yet another authentication Response @enduml 你可以在双引号内指定编号的格式。 格式是由 Java 的 DecimalFormat 类实现的:(0 表示数字;# 也表示数字,但默认为 0)。 你也可以用 HTML 标签来制定格式。 @startuml autonumber "[000]" Bob -> Alice : Authentication Response @enduml PlantUML 语言参考指引 (1.2019.2) 12 / 156 1.16 引用 1 时序图 1.16 引用 你可以在图中通过使用 ref over 关键词来实现引用 @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over0 码力 | 157 页 | 1.78 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.4)demonstrates\nmultiline \ntext @enduml 1.5 修改箭头样式 修改箭头样式的方式有以下几种: • 表示一条丢失的消息:末尾加 x • 让箭头只有上半部分或者下半部分:将 < 和 > 替换成 \ 或者 / • 细箭头:将箭头标记写两次 (如 >> 或 //) • 虚线箭头:用 -- 替代 - PlantUML 语言参考指引 (1.2019.4) 3 / Alice : Yet another authentication Response @enduml 你可以在双引号内指定编号的格式。 格式是由 Java 的 DecimalFormat 类实现的:(0 表示数字;# 也表示数字,但默认为 0)。 你也可以用 HTML 标签来制定格式。 @startuml autonumber "[000]" Bob -> Alice : Authentication Response @enduml PlantUML 语言参考指引 (1.2019.4) 12 / 164 1.16 引用 1 时序图 1.16 引用 你可以在图中通过使用 ref over 关键词来实现引用 @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over0 码力 | 165 页 | 1.89 MB | 1 年前3
PlantUML 1.2020.22 语言参考指引Link to Text Alignment on skinparam page. 1.6 修改箭头样式 修改箭头样式的方式有以下几种: • 表示一条丢失的消息:末尾加 x • 让箭头只有上半部分或者下半部分:将 < 和 > 替换成 \ 或者 / • 细箭头:将箭头标记写两次 (如 >> 或 //) • 虚线箭头:用 -- 替代 - • 箭头末尾加圈:->o • 双向箭头:<-> @startuml Alice : Yet another authentication Response @enduml 你可以在双引号内指定编号的格式。 格式是由 Java 的 DecimalFormat 类实现的:(0 表示数字;# 也表示数字,但默认为 0)。 你也可以用 HTML 标签来制定格式。 @startuml autonumber "[000]" Bob -> Alice : Authentication authentication Request Alice <-- Bob: another authentication Response @enduml 1.17 引用 你可以在图中通过使用 ref over 关键词来实现引用 @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over0 码力 | 295 页 | 3.08 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2020.23)Link to Text Alignment on skinparam page. 1.6 修改箭头样式 修改箭头样式的方式有以下几种: • 表示一条丢失的消息:末尾加 x • 让箭头只有上半部分或者下半部分:将 < 和 > 替换成 \ 或者 / • 细箭头:将箭头标记写两次 (如 >> 或 //) • 虚线箭头:用 -- 替代 - • 箭头末尾加圈:->o • 双向箭头:<-> @startuml Alice : Yet another authentication Response @enduml 你可以在双引号内指定编号的格式。 格式是由 Java 的 DecimalFormat 类实现的:(0 表示数字;# 也表示数字,但默认为 0)。 你也可以用 HTML 标签来制定格式。 @startuml autonumber "[000]" Bob -> Alice : Authentication authentication Request Alice <-- Bob: another authentication Response @enduml 1.18 引用 你可以在图中通过使用 ref over 关键词来实现引用 @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over0 码力 | 307 页 | 3.17 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2023.11)Bob : ok @enduml 1.7 改变箭头样式 您可以通过以下几种方式改变箭头样式: • 添加最后的 x 表示丢失的信息 • 使用\ 或/ 而不是 < 或 > 只拥有箭头的底部或顶部部分 • 重复箭头头(例如 >> 或// )头,拥有一个薄的图纸 • 使用-- 而不是- 拥有一个点状箭头 PlantUML 语言参考指引 (1.2023.11) 5 / 538 1.8 修改箭头颜色 Alice : Yet another authentication Response @enduml 你可以在双引号内指定编号的格式。 格式是由 Java 的 DecimalFormat 类实现的:(0 表示数字;# 也表示数字,但默认为 0)。 你也可以用 HTML 标签来制定格式。 @startuml autonumber "[000]" Bob -> Alice : Authentication 认证响应 @enduml PlantUML 语言参考指引 (1.2023.11) 17 / 538 1.21 引用 1 序列图 1.21 引用 你可以在图中通过使用 ref over 关键词来实现引用 @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over0 码力 | 539 页 | 7.74 MB | 1 年前3
共 26 条
- 1
- 2
- 3













