PlantUML 1.2020.23 Справочное руководство по языку
stop on an action [kill, detach] You can stop action on a if loop. @startuml if (condition?) then :error; stop endif #palegreen:action; @enduml But if you want to stop at an precise action, you can use Повторяющийся цикл 5 ДИАГРАММА АКТИВНОСТИ (БЕТА) #pink:error; kill endif #palegreen:action; @enduml [Ref. QA-265] • detach @startuml if (condition?) then #pink:error; detach endif #palegreen:action; @enduml 5 PlantUML (1.2020.23) 88 / 305 5.7 Цикл while 5 ДИАГРАММА АКТИВНОСТИ (БЕТА) endif ->NOK; :Alert "Error with long text"; repeat while (Something went wrong with long text?) is (yes) ->no; :Alert "Sucess";0 码力 | 306 页 | 3.12 MB | 1 年前3PlantUML 1.2020.22 Справочное руководство по языку
stop on an action [kill, detach] You can stop action on a if loop. @startuml if (condition?) then :error; stop endif #palegreen:action; @enduml But if you want to stop at an precise action, you can use Повторяющийся цикл 5 ДИАГРАММА АКТИВНОСТИ (БЕТА) #pink:error; kill endif #palegreen:action; @enduml [Ref. QA-265] • detach @startuml if (condition?) then #pink:error; detach endif #palegreen:action; @enduml 5 PlantUML (1.2020.22) 77 / 293 5.7 Цикл while 5 ДИАГРАММА АКТИВНОСТИ (БЕТА) endif ->NOK; :Alert "Error with long text"; repeat while (Something went wrong with long text?) is (yes) ->no; :Alert "Sucess";0 码力 | 294 页 | 3.03 MB | 1 年前3Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2020.23)
stop on an action [kill, detach] You can stop action on a if loop. @startuml if (condition?) then :error; PlantUML Language Reference Guide (1.2020.23) 87 / 310 5.4 Conditional with stop on an action [kill kill @startuml if (condition?) then #pink:error; kill endif #palegreen:action; @enduml [Ref. QA-265] • detach @startuml if (condition?) then #pink:error; detach endif #palegreen:action; @enduml PlantUML repeat :Test something; if (Something went wrong?) then (no) #palegreen:OK; break endif ->NOK; :Alert "Error with long text"; repeat while (Something went wrong with long text?) is (yes) ->no; :Alert "Sucess";0 码力 | 311 页 | 3.15 MB | 1 年前3PlantUML 1.2020.23 Sprachreferenz
) then :error; stop endif #palegreen:action; @enduml But if you want to stop at an precise action, you can use the kill or detach keyword: • kill @startuml if (condition?) then #pink:error; kill endif Repeat-Schleife 5 AKTIVITÄTDIAGRAMM (BETA) [Ref. QA-265] • detach @startuml if (condition?) then #pink:error; detach endif #palegreen:action; @enduml 5.5 Repeat-Schleife Mit den repeat und repeatwhile Schlüsselwörtern Sprachreferenz (1.2020.23) 87 / 303 5.7 While-Schleife 5 AKTIVITÄTDIAGRAMM (BETA) break endif ->NOK; :Alert "Error with long text"; repeat while (Something went wrong with long text?) is (yes) ->no; :Alert "Sucess";0 码力 | 304 页 | 3.07 MB | 1 年前3PlantUML 1.2020.22 Sprachreferenz
) then :error; stop endif #palegreen:action; @enduml But if you want to stop at an precise action, you can use the kill or detach keyword: • kill @startuml if (condition?) then #pink:error; kill endif Repeat-Schleife 5 AKTIVITÄTDIAGRAMM (BETA) [Ref. QA-265] • detach @startuml if (condition?) then #pink:error; detach endif #palegreen:action; @enduml 5.5 Repeat-Schleife Mit den repeat und repeatwhile Schlüsselwörtern Sprachreferenz (1.2020.22) 76 / 291 5.7 While-Schleife 5 AKTIVITÄTDIAGRAMM (BETA) break endif ->NOK; :Alert "Error with long text"; repeat while (Something went wrong with long text?) is (yes) ->no; :Alert "Sucess";0 码力 | 292 页 | 2.98 MB | 1 年前3PlantUML 1.2020.22 Language Reference Guide
stop on an action [kill, detach] You can stop action on a if loop. @startuml if (condition?) then :error; PlantUML Language Reference Guide (1.2020.22) 76 / 298 5.4 Conditional with stop on an action [kill kill @startuml if (condition?) then #pink:error; kill endif #palegreen:action; @enduml [Ref. QA-265] • detach @startuml if (condition?) then #pink:error; detach endif #palegreen:action; @enduml PlantUML repeat :Test something; if (Something went wrong?) then (no) #palegreen:OK; break endif ->NOK; :Alert "Error with long text"; repeat while (Something went wrong with long text?) is (yes) ->no; :Alert "Sucess";0 码力 | 299 页 | 3.07 MB | 1 年前3PlantUML 1.2020.22 语言参考指引
) then :error; stop endif #palegreen:action; @enduml But if you want to stop at an precise action, you can use the kill or detach keyword: • kill @startuml if (condition?) then #pink:error; kill endif 22) 73 / 294 5.5 重复循环 5 活动图 (新语法) [Ref. QA-265] • detach @startuml if (condition?) then #pink:error; detach endif #palegreen:action; @enduml 5.5 重复循环 你可以使用关键字 repeat 和 repeatwhile 进行重复循环。 @startuml #palegreen:OK; PlantUML 语言参考指引 (1.2020.22) 75 / 294 5.7 while 循环 5 活动图 (新语法) break endif ->NOK; :Alert "Error with long text"; repeat while (Something went wrong with long text?) is (yes) ->no; :Alert "Sucess";0 码力 | 295 页 | 3.08 MB | 1 年前3PlantUML 을사용해서 UML 그리기 - PlantUML 언어참조가이드(Version 1.2020.23)
) then :error; stop endif #palegreen:action; @enduml But if you want to stop at an precise action, you can use the kill or detach keyword: • kill @startuml if (condition?) then #pink:error; kill endif Repeat loop 5 ACTIVITY DIAGRAM (BETA) [Ref. QA-265] • detach @startuml if (condition?) then #pink:error; detach endif #palegreen:action; @enduml 5.5 Repeat loop You can use repeat and repeatwhile keywords 23) 87 / 306 5.7 While loop 5 ACTIVITY DIAGRAM (BETA) #palegreen:OK; break endif ->NOK; :Alert "Error with long text"; repeat while (Something went wrong with long text?) is (yes) ->no; :Alert "Sucess";0 码力 | 307 页 | 3.16 MB | 1 年前3使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2020.23)
) then :error; stop endif #palegreen:action; @enduml But if you want to stop at an precise action, you can use the kill or detach keyword: • kill @startuml if (condition?) then #pink:error; kill endif 23) 84 / 306 5.5 重复循环 5 活动图 (新语法) [Ref. QA-265] • detach @startuml if (condition?) then #pink:error; detach endif #palegreen:action; @enduml 5.5 重复循环 你可以使用关键字 repeat 和 repeatwhile 进行重复循环。 @startuml #palegreen:OK; PlantUML 语言参考指引 (1.2020.23) 86 / 306 5.7 while 循环 5 活动图 (新语法) break endif ->NOK; :Alert "Error with long text"; repeat while (Something went wrong with long text?) is (yes) ->no; :Alert "Sucess";0 码力 | 307 页 | 3.17 MB | 1 年前3PlantUML 1.2020.23 Guía de Referencia del Lenguaje
) then :error; stop endif #palegreen:action; @enduml But if you want to stop at an precise action, you can use the kill or detach keyword: • kill @startuml if (condition?) then #pink:error; kill endif Repeat 5 DIAGRAMA DE ACTIVIDADES (BETA) [Ref. QA-265] • detach @startuml if (condition?) then #pink:error; detach endif #palegreen:action; @enduml 5.5 El ciclo Repeat Puedes usar las palabras reservadas 2020.23) 86 / 304 5.7 El ciclo While 5 DIAGRAMA DE ACTIVIDADES (BETA) break endif ->NOK; :Alert "Error with long text"; repeat while (Something went wrong with long text?) is (yes) ->no; :Alert "Sucess";0 码力 | 305 页 | 3.11 MB | 1 年前3
共 96 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10