我正在处理一些困难,试图实现 plantuml 活动图的正确外观。我收到的是左边的,我想收到右边的,即:
现实与梦想
我试过这个:
@startuml start :A; repeat :B; if (C) then (yes) :D; stop else (no) if(E) then (no) stop 'repeat while (E) is (yes) else (yes) @enduml
但是当使用“repeat while”时,我收到错误“找不到重复”
这更接近您正在寻找的东西吗?
@startuml start :A; repeat :B if (C) then (yes) :D; break else (no) endif backward :again; repeat while (E) is (yes) not (no) stop @enduml