使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2020.23)
key=token+ip获取token 其他服务 <- 认证中心: 存在且校验成功则跳转到用户请求的其他服务 其他服务 -> 用户: 信息 @enduml 1.2 声明参与者 关键字 participant 用于改变参与者的先后顺序。 你也可以使用其它关键字来声明参与者: • actor • boundary • control • entity • database • collections only difference between actor 'and participant is the drawing participant Alice participant "I have a really\nlong name" as L #99FF99 /' You can also declare: participant L as "I have a really\nlong name" PlantUML 语言参考指引 (1.2020.23) 2 / 306 1.3 在参与者中使用非字母符号 1 时序图 @startuml participant Last order 30 participant Middle order 20 participant First order 10 @enduml 1.3 在参与者中使用非字母符号 你可以使用引号定义参与者,还可以用关键字 as 给参与者定义别名。0 码力 | 307 页 | 3.17 MB | 1 年前3PlantUML 1.2019.3 语言参考指引
authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 声明参与者 关键字 participant 用于改变参与者的先后顺序。 你也可以使用其它关键字来声明参与者: • actor • boundary • control • entity • database @startuml only difference between actor 'and participant is the drawing participant Alice participant "I have a really\nlong name" as L #99FF99 /' You can also declare: participant L as "I have a really\nlong name" Bob->L: Log transaction @enduml 您可以使用关键字 order 自定义顺序来打印参与者。 @startuml participant Last order 30 participant Middle order 20 participant First order 10 @enduml PlantUML 语言参考指引 (1.2019.3) 2 / 156 1.3 在参与者中使用非字母符号0 码力 | 157 页 | 1.78 MB | 1 年前3PlantUML 1.2019.2 语言参考指引
authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 声明参与者 关键字 participant 用于改变参与者的先后顺序。 你也可以使用其它关键字来声明参与者: • actor • boundary • control • entity • database @startuml only difference between actor 'and participant is the drawing participant Alice participant "I have a really\nlong name" as L #99FF99 /' You can also declare: participant L as "I have a really\nlong name" Bob->L: Log transaction @enduml 您可以使用关键字 order 自定义顺序来打印参与者。 @startuml participant Last order 30 participant Middle order 20 participant First order 10 @enduml PlantUML 语言参考指引 (1.2019.2) 2 / 156 1.3 在参与者中使用非字母符号0 码力 | 157 页 | 1.78 MB | 1 年前3使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.1)
authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 声明参与者 关键字 participant 用于改变参与者的先后顺序。 你也可以使用其它关键字来声明参与者: • actor • boundary • control • entity • database @startuml only difference between actor 'and participant is the drawing participant Alice participant "I have a really\nlong name" as L #99FF99 /' You can also declare: participant L as "I have a really\nlong name" Bob->L: Log transaction @enduml 您可以使用关键字 order 自定义顺序来打印参与者。 @startuml participant Last order 30 participant Middle order 20 participant First order 10 @enduml PlantUML 语言参考指引 (1.2019.1) 2 / 145 1.3 在参与者中使用非字母符号0 码力 | 146 页 | 1.91 MB | 1 年前3使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.6)
authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 声明参与者 关键字 participant 用于改变参与者的先后顺序。 你也可以使用其它关键字来声明参与者: • actor • boundary • control • entity • database @startuml only difference between actor 'and participant is the drawing participant Alice participant "I have a really\nlong name" as L #99FF99 /' You can also declare: participant L as "I have a really\nlong name" Bob->L: Log transaction @enduml 您可以使用关键字 order 自定义顺序来打印参与者。 @startuml participant Last order 30 participant Middle order 20 participant First order 10 @enduml PlantUML 语言参考指引 (1.2019.6) 2 / 173 1.3 在参与者中使用非字母符号0 码力 | 174 页 | 1.98 MB | 1 年前3使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.9)
authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 声明参与者 关键字 participant 用于改变参与者的先后顺序。 你也可以使用其它关键字来声明参与者: • actor • boundary • control • entity • database @startuml only difference between actor 'and participant is the drawing participant Alice participant "I have a really\nlong name" as L #99FF99 /' You can also declare: participant L as "I have a really\nlong name" Bob->L: Log transaction @enduml 您可以使用关键字 order 自定义顺序来打印参与者。 @startuml participant Last order 30 participant Middle order 20 participant First order 10 @enduml PlantUML 语言参考指引 (1.2019.9) 2 / 173 1.3 在参与者中使用非字母符号0 码力 | 174 页 | 2.00 MB | 1 年前3使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.4)
authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 声明参与者 关键字 participant 用于改变参与者的先后顺序。 你也可以使用其它关键字来声明参与者: • actor • boundary • control • entity • database @startuml only difference between actor 'and participant is the drawing participant Alice participant "I have a really\nlong name" as L #99FF99 /' You can also declare: participant L as "I have a really\nlong name" Bob->L: Log transaction @enduml 您可以使用关键字 order 自定义顺序来打印参与者。 @startuml participant Last order 30 participant Middle order 20 participant First order 10 @enduml PlantUML 语言参考指引 (1.2019.4) 2 / 164 1.3 在参与者中使用非字母符号0 码力 | 165 页 | 1.89 MB | 1 年前3使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2021.2)
key=token+ip获取token 其他服务 <- 认证中心: 存在且校验成功则跳转到用户请求的其他服务 其他服务 -> 用户: 信息 @enduml 1.2 声明参与者 关键字 participant 用于改变参与者的先后顺序。 你也可以使用其它关键字来声明参与者: • actor • boundary • control • entity • database • collections only difference between actor 'and participant is the drawing participant Alice participant "I have a really\nlong name" as L #99FF99 /' You can also declare: participant L as "I have a really\nlong name" PlantUML 语言参考指引 (1.2021.2) 2 / 380 1.3 在参与者中使用非字母符号 1 时序图 @startuml participant Last order 30 participant Middle order 20 participant First order 10 @enduml 1.3 在参与者中使用非字母符号 你可以使用引号定义参与者,还可以用关键字 as 给参与者定义别名。0 码力 | 381 页 | 4.05 MB | 1 年前3PlantUML 1.2021.1 语言参考指引
key=token+ip获取token 其他服务 <- 认证中心: 存在且校验成功则跳转到用户请求的其他服务 其他服务 -> 用户: 信息 @enduml 1.2 声明参与者 关键字 participant 用于改变参与者的先后顺序。 你也可以使用其它关键字来声明参与者: • actor • boundary • control • entity • database • collections only difference between actor 'and participant is the drawing participant Alice participant "I have a really\nlong name" as L #99FF99 /' You can also declare: participant L as "I have a really\nlong name" PlantUML 语言参考指引 (1.2021.1) 2 / 375 1.3 在参与者中使用非字母符号 1 时序图 @startuml participant Last order 30 participant Middle order 20 participant First order 10 @enduml 1.3 在参与者中使用非字母符号 你可以使用引号定义参与者,还可以用关键字 as 给参与者定义别名。0 码力 | 376 页 | 4.00 MB | 1 年前3PlantUML 1.2021.3 语言参考指引
其他服务 <- 认证中心: 存在且校验成功则跳转到用户请求的其他服务 其他服务 -> 用户: 信息 @enduml 1.2 声明参与者 使用 participant 关键字来声明一个参与者可以使你对参与者做出更多控制。 关键字 participant 用于改变参与者的先后顺序。 你也可以使用下面这些关键字来声明参与者,这会改变参与者的外观: • actor(角色) • boundary(边界) • control(控制) • entity(实体) • database(数据库) • collections(集合) • queue(队列) @startuml participant participant as Foo actor actor as Foo1 boundary boundary as Foo2 control control as Foo3 PlantUML 语言参考指引 actor 或参与者的背景颜色。 @startuml actor Bob #red ' actor 和 participant 只在外观上有区别 participant Alice participant "很长很长很长\n的名字" as L #99FF99 /' 也可以这样声明: participant L as "很长很长很长\n的名字" #99FF99 '/ Alice->Bob: 认证请求 Bob->Alice:0 码力 | 398 页 | 4.22 MB | 1 年前3
共 33 条
- 1
- 2
- 3
- 4