统一建模语言 UML 参考手册 - 基本概念它们以 ��� 的相关核心元 素组织起来 并提供了对应核心元素的解释 � ��� 建 模 词 汇 表 引 自 ��� 规 范 原 文 中 未 有 相 关 内 容 英 语 原 文 可 参 见 ����������������的 ��������������������� � 中英文词汇对照提供了所有文中术语的词汇对照 详细 精确的解释可以参见 ��� 规 范相应的内容 � 最后 ��� 标记一览展现了 我们相信它可以容纳日常的大多数扩展需要 ��� 扩展机制包括版型 约束和标签值 版型是与现有元素结构相同的新元素 它具有附 ��� 参考指南� � ��� 概述� ������ 加的约束 不同的解释和图标 并被代码生成和后端工具不同的对待 标签值是可以附加 在任何模型元素 容纳任意信息的任意标签 值的文字串对 如项目管理信息 代码产生 指导和版型所需的值 标签和值用文字串来表达 约束是使用某些约束语言 和 � 个或多个的孩子 子类 类从它的双亲或其它祖先继承状 态和行为描述 以及定义被孩子和其它后代继承的状态和行为 � 类在它的容器中具有唯一的名称 容器通常是包 但有时是其它的类 类具有相对于容 器的可见性 可见性指明了类被容器外的其它类如何使用 类具有重数 说明了该类存在 多少个实例 通常重数为多 � 或多 无明显的限制 但单子类在执行过程中仅具有一个 实例 � 接口 接口 接口 接口 接口是未给出实现或状态的对象行为的描述0 码力 | 123 页 | 2.61 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2023.11)还要注意的是,以 $ 开始的名字是有效的,但是要给这样的元素分配一个别名,必须把名字放在引号"" 之间。 3.5 添加方法 要声明属性和方法,你可以使用符号:,后面跟字段或方法的名称。 编译器会通过检查括号来选择方法和字段。 @startuml Object <|-- ArrayList Object : equals() ArrayList : Object[] elementData class Flight { flightNumber : Integer departureTime : Date } @enduml 你可以使用 {field} 和 {method} 修饰符来覆盖编译器对属性和方法的默认识别。 @startuml class Dummy { {field} A field (despite parentheses) {method} Some method } @enduml 11) 128 / 538 6.16 连接器 (Connector) 6 活动图(新语法) and **very** long...; :foo3; else -[#black,dotted]-> :foo4; endif -[#gray,bold]-> :foo5; @enduml 6.16 连接器 (Connector) 你可以使用括号定义连接器。 @startuml start :Some0 码力 | 539 页 | 7.74 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.6)Flight { flightNumber : Integer departureTime : Date } @enduml 你可以(显式地)使用 {field} 和 {method} 修饰符来覆盖解析器的对于字段和方法的默认行为You can use {field} and {method} modifiers to override default behaviour -[#gray,bold]-> :foo5; @enduml PlantUML 语言参考指引 (1.2019.6) 69 / 173 5.10 连接器 (Connector) 5 活动图 (新语法) 5.10 连接器 (Connector) 你可以使用括号定义连接器。 @startuml start :Some activity; (A) detach (A) :Other activity; @enduml @startuml robust "Web 浏览器" as WB concise "Web 用户" as WU @0 WU is 空闲 WB is 空闲 @100 WU is 等待中 WB is 处理中 @300 WB is 等待中 @enduml 9.2 增加消息 使用下述的语法增加对消息的描述。 @startuml robust "Web 浏览器" as WB concise "Web 用户" 0 码力 | 174 页 | 1.98 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.9)Flight { flightNumber : Integer departureTime : Date } @enduml 你可以(显式地)使用 {field} 和 {method} 修饰符来覆盖解析器的对于字段和方法的默认行为You can use {field} and {method} modifiers to override default behaviour -[#gray,bold]-> :foo5; @enduml PlantUML 语言参考指引 (1.2019.9) 69 / 173 5.10 连接器 (Connector) 5 活动图 (新语法) 5.10 连接器 (Connector) 你可以使用括号定义连接器。 @startuml start :Some activity; (A) detach (A) :Other activity; @enduml @startuml robust "Web 浏览器" as WB concise "Web 用户" as WU @0 WU is 空闲 WB is 空闲 @100 WU is 等待中 WB is 处理中 @300 WB is 等待中 @enduml 9.2 增加消息 使用下述的语法增加对消息的描述。 @startuml robust "Web 浏览器" as WB concise "Web 用户" 0 码力 | 174 页 | 2.00 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.1):foo3; else -[#black,dotted]-> :foo4; endif -[#gray,bold]-> :foo5; @enduml 5.10 连接器 (Connector) 你可以使用括号定义连接器。 @startuml start :Some activity; (A) PlantUML 语言参考指引 (1.2019.1) 64 / 145 5.11 组合 (grouping) @startuml robust "Web 浏览 器 " as WB concise "Web 用户 " as WU @0 WU is 空闲 WB is 空闲 @100 WU is 等待 中 WB is 处理 中 @300 WB is 等待 中 @enduml 9.2 增加消息 使用下述的语法增加对消息的描述。 @startuml robust "Web 浏览 器 " as WB concise "Web deactivate A @enduml @startuml (*) --> " 膩 平台 " --> === S1 === --> 鞠 躬 向 公 眾 --> === S2 === --> 這 傢 伙 波 武 器 --> (*) skinparam backgroundColor #AAFFFF skinparam activityStartColor red PlantUML 语言参考指引 (1.20190 码力 | 146 页 | 1.91 MB | 1 年前3
PlantUML 1.2019.3 语言参考指引-[#gray,bold]-> :foo5; @enduml PlantUML 语言参考指引 (1.2019.3) 68 / 156 5.10 连接器 (Connector) 5 活动图 (新语法) 5.10 连接器 (Connector) 你可以使用括号定义连接器。 @startuml start :Some activity; (A) detach (A) :Other activity; @enduml @startuml robust "Web 浏览器" as WB concise "Web 用户" as WU @0 WU is 空闲 WB is 空闲 @100 WU is 等待中 WB is 处理中 @300 WB is 等待中 @enduml 9.2 增加消息 使用下述的语法增加对消息的描述。 @startuml robust "Web 浏览器" as WB concise "Web 用户" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5.10 连接器 (Connector) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690 码力 | 157 页 | 1.78 MB | 1 年前3
PlantUML 1.2019.2 语言参考指引-[#gray,bold]-> :foo5; @enduml PlantUML 语言参考指引 (1.2019.2) 68 / 156 5.10 连接器 (Connector) 5 活动图 (新语法) 5.10 连接器 (Connector) 你可以使用括号定义连接器。 @startuml start :Some activity; (A) detach (A) :Other activity; @enduml @startuml robust "Web 浏览器" as WB concise "Web 用户" as WU @0 WU is 空闲 WB is 空闲 @100 WU is 等待中 WB is 处理中 @300 WB is 等待中 @enduml 9.2 增加消息 使用下述的语法增加对消息的描述。 @startuml robust "Web 浏览器" as WB concise "Web 用户" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5.10 连接器 (Connector) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690 码力 | 157 页 | 1.78 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.4)-[#gray,bold]-> :foo5; @enduml PlantUML 语言参考指引 (1.2019.4) 68 / 164 5.10 连接器 (Connector) 5 活动图 (新语法) 5.10 连接器 (Connector) 你可以使用括号定义连接器。 @startuml start :Some activity; (A) detach (A) :Other activity; @enduml @startuml robust "Web 浏览器" as WB concise "Web 用户" as WU @0 WU is 空闲 WB is 空闲 @100 WU is 等待中 WB is 处理中 @300 WB is 等待中 @enduml 9.2 增加消息 使用下述的语法增加对消息的描述。 @startuml robust "Web 浏览器" as WB concise "Web 用户" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5.10 连接器 (Connector) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690 码力 | 165 页 | 1.89 MB | 1 年前3
PlantUML 1.2020.22 语言参考指引Flight { flightNumber : Integer departureTime : Date } @enduml 你可以(显式地)使用 {field} 和 {method} 修饰符来覆盖解析器的对于字段和方法的默认行为 @startuml class Dummy { {field} A field (despite parentheses) {method} Some method } bold]-> :foo5; @enduml PlantUML 语言参考指引 (1.2020.22) 80 / 294 5.13 连接器 (Connector) 5 活动图 (新语法) 5.13 连接器 (Connector) 你可以使用括号定义连接器。 @startuml start :Some activity; (A) detach (A) :Other activity; @enduml 声明参与者 使用 concise or robust 关键字声明参与者, 选择哪个取决于所需的显示样式。 通过 @ 标注, 和 is 动词定义状态. @startuml robust "Web 浏览器" as WB concise "Web 用户" as WU @0 WU is 空闲 WB is 空闲 @100 WU is 等待中 WB is 处理中 @300 WB is 等待中 @enduml0 码力 | 295 页 | 3.08 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2020.23)Flight { flightNumber : Integer departureTime : Date } @enduml 你可以(显式地)使用 {field} 和 {method} 修饰符来覆盖解析器的对于字段和方法的默认行为 @startuml class Dummy { {field} A field (despite parentheses) {method} Some method } bold]-> :foo5; @enduml PlantUML 语言参考指引 (1.2020.23) 91 / 306 5.13 连接器 (Connector) 5 活动图 (新语法) 5.13 连接器 (Connector) 你可以使用括号定义连接器。 @startuml start :Some activity; (A) detach (A) :Other activity; @enduml 声明参与者 使用 concise or robust 关键字声明参与者, 选择哪个取决于所需的显示样式。 通过 @ 标注, 和 is 动词定义状态. @startuml robust "Web 浏览器" as WB concise "Web 用户" as WU @0 WU is 空闲 WB is 空闲 @100 WU is 等待中 WB is 处理中 @300 WB is 等待中 @enduml0 码力 | 307 页 | 3.17 MB | 1 年前3
共 21 条
- 1
- 2
- 3













