统一建模语言 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













