使用 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
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2021.2)Flight { flightNumber : Integer departureTime : Date } @enduml 你可以(显式地)使用 {field} 和 {method} 修饰符来覆盖解析器的对于字段和方法的默认行为 @startuml class Dummy { {field} A field (despite parentheses) {method} Some method } bold]-> :foo5; @enduml PlantUML 语言参考指引 (1.2021.2) 105 / 380 6.14 连接器 (Connector) 6 活动图 (新语法) 6.14 连接器 (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 码力 | 381 页 | 4.05 MB | 1 年前3
共 21 条
- 1
- 2
- 3













