使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2020.23)deactivate A @enduml @startuml skinparam backgroundColor #EEEBDC skinparam handwritten true skinparam sequence { ArrowColor DeepSkyBlue ActorBorderColor DeepSkyBlue LifeLineBorderColor blue LifeLineBackgroundColor Alice -> Bob : ok @enduml 1.36.2 lifelineStrategy solid In order to have solid life line in sequence diagrams, you can use: • skinparam lifelineStrategy solid @startuml skinparam lifelineStrategy solid (Graphviz installed?) then (yes) :process all\ndiagrams; else (no) :process only __sequence__ and __activity__ diagrams; endif stop @enduml 也可以使用关键字 elseif 设置多个分支测试。 @startuml start if (condition A)0 码力 | 307 页 | 3.17 MB | 1 年前3
PlantUML 1.2020.22 语言参考指引(skinparam) 1 时序图 @startuml skinparam backgroundColor #EEEBDC skinparam handwritten true skinparam sequence { ArrowColor DeepSkyBlue ActorBorderColor DeepSkyBlue LifeLineBorderColor blue LifeLineBackgroundColor (Graphviz installed?) then (yes) :process all\ndiagrams; else (no) :process only __sequence__ and __activity__ diagrams; endif stop @enduml 也可以使用关键字 elseif 设置多个分支测试。 @startuml start if (condition A) 5.5 重复循环 你可以使用关键字 repeat 和 repeatwhile 进行重复循环。 @startuml start repeat :read data; :generate diagrams; repeat while (more data?) stop @enduml PlantUML 语言参考指引 (1.2020.22) 74 / 294 5.6 Break on a0 码力 | 295 页 | 3.08 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2021.2)(skinparam) 1 时序图 @startuml skinparam backgroundColor #EEEBDC skinparam handwritten true skinparam sequence { ArrowColor DeepSkyBlue ActorBorderColor DeepSkyBlue LifeLineBorderColor blue LifeLineBackgroundColor hello Alice -> Bob : ok @enduml [Ref. QA-9016] • solid In order to have solid life line in sequence diagrams, you can use: skinparam lifelineStrategy solid @startuml skinparam lifelineStrategy solid Bob (Graphviz installed?) then (yes) :process all\ndiagrams; else (no) :process only __sequence__ and __activity__ diagrams; endif stop @enduml 也可以使用关键字 elseif 设置多个分支测试。 @startuml start if (condition A)0 码力 | 381 页 | 4.05 MB | 1 年前3
PlantUML 1.2021.1 语言参考指引(skinparam) 1 时序图 @startuml skinparam backgroundColor #EEEBDC skinparam handwritten true skinparam sequence { ArrowColor DeepSkyBlue ActorBorderColor DeepSkyBlue LifeLineBorderColor blue LifeLineBackgroundColor hello Alice -> Bob : ok @enduml [Ref. QA-9016] • solid In order to have solid life line in sequence diagrams, you can use: skinparam lifelineStrategy solid @startuml skinparam lifelineStrategy solid Bob (Graphviz installed?) then (yes) :process all\ndiagrams; else (no) :process only __sequence__ and __activity__ diagrams; endif stop @enduml 也可以使用关键字 elseif 设置多个分支测试。 @startuml start if (condition A)0 码力 | 376 页 | 4.00 MB | 1 年前3
PlantUML 1.2021.3 语言参考指引(skinparam) 1 时序图 @startuml skinparam backgroundColor #EEEBDC skinparam handwritten true skinparam sequence { ArrowColor DeepSkyBlue ActorBorderColor DeepSkyBlue LifeLineBorderColor blue LifeLineBackgroundColor (Graphviz installed?) then (yes) :process all\ndiagrams; else (no) :process only __sequence__ and __activity__ diagrams; endif stop @enduml 也可以使用关键字 elseif 设置多个分支测试。 @startuml start if (condition A) 6.5 重复循环 你可以使用关键字 repeat 和 repeatwhile 进行重复循环。 @startuml start repeat :read data; :generate diagrams; repeat while (more data?) stop @enduml PlantUML 语言参考指引 (1.2021.2) 99 / 397 6.6 Break on a repeat0 码力 | 398 页 | 4.22 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2023.11)deactivate A @enduml @startuml skinparam backgroundColor #EEEBDC skinparam handwritten true skinparam sequence { ArrowColor DeepSkyBlue ActorBorderColor DeepSkyBlue LifeLineBorderColor blue LifeLineBackgroundColor 2023.11) 43 / 538 2 用例图 2 用例图 举几个例子:用例 PlantUML offers a unique approach to creating use case diagrams through its text-based language. One of the primary advantages of using PlantUML is its simplicity simplicity and efficiency. Instead of manually drawing shapes and connections, users can define their diagrams using intuitive and concise textual descriptions. This not only speeds up the diagram creation process0 码力 | 539 页 | 7.74 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.1)deactivate A @enduml @startuml skinparam backgroundColor #EEEBDC skinparam handwritten true skinparam sequence { ArrowColor DeepSkyBlue ActorBorderColor DeepSkyBlue LifeLineBorderColor blue LifeLineBackgroundColor (Graphviz installed?) then (yes) :process all\ndiagrams; else (no) :process only __sequence__ and __activity__ diagrams; endif stop @enduml 也可以使用关键字 elseif 设置多个分支测试。 @startuml start if (condition A) :generate diagrams; repeat while (more data?) stop @enduml 5.5 while 循环 可以使用关键字 while 和 end while 进行 while 循环。 @startuml start while (data available?) :read data; :generate diagrams; endwhile0 码力 | 146 页 | 1.91 MB | 1 年前3
PlantUML 1.2019.3 语言参考指引deactivate A @enduml @startuml skinparam backgroundColor #EEEBDC skinparam handwritten true skinparam sequence { ArrowColor DeepSkyBlue ActorBorderColor DeepSkyBlue LifeLineBorderColor blue LifeLineBackgroundColor (Graphviz installed?) then (yes) :process all\ndiagrams; else (no) :process only __sequence__ and __activity__ diagrams; endif stop @enduml 也可以使用关键字 elseif 设置多个分支测试。 @startuml start if (condition A) 5.4 重复循环 你可以使用关键字 repeat 和 repeatwhile 进行重复循环。 @startuml start repeat :read data; :generate diagrams; repeat while (more data?) stop @enduml 5.5 while 循环 可以使用关键字 while 和 end while 进行 while 循环。0 码力 | 157 页 | 1.78 MB | 1 年前3
PlantUML 1.2019.2 语言参考指引deactivate A @enduml @startuml skinparam backgroundColor #EEEBDC skinparam handwritten true skinparam sequence { ArrowColor DeepSkyBlue ActorBorderColor DeepSkyBlue LifeLineBorderColor blue LifeLineBackgroundColor (Graphviz installed?) then (yes) :process all\ndiagrams; else (no) :process only __sequence__ and __activity__ diagrams; endif stop @enduml 也可以使用关键字 elseif 设置多个分支测试。 @startuml start if (condition A) 5.4 重复循环 你可以使用关键字 repeat 和 repeatwhile 进行重复循环。 @startuml start repeat :read data; :generate diagrams; repeat while (more data?) stop @enduml 5.5 while 循环 可以使用关键字 while 和 end while 进行 while 循环。0 码力 | 157 页 | 1.78 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.4)deactivate A @enduml @startuml skinparam backgroundColor #EEEBDC skinparam handwritten true skinparam sequence { ArrowColor DeepSkyBlue ActorBorderColor DeepSkyBlue LifeLineBorderColor blue LifeLineBackgroundColor (Graphviz installed?) then (yes) :process all\ndiagrams; else (no) :process only __sequence__ and __activity__ diagrams; endif stop @enduml 也可以使用关键字 elseif 设置多个分支测试。 @startuml start if (condition A) 5.4 重复循环 你可以使用关键字 repeat 和 repeatwhile 进行重复循环。 @startuml start repeat :read data; :generate diagrams; repeat while (more data?) stop @enduml 5.5 while 循环 可以使用关键字 while 和 end while 进行 while 循环。0 码力 | 165 页 | 1.89 MB | 1 年前3
共 231 条
- 1
- 2
- 3
- 4
- 5
- 6
- 24













