<
从版本< 18.1 >
xu yang编辑
在2021/11/30 14:03上
到版本
xu yang编辑
在2021/11/30 14:12上
>
修改评论 该版本没有评论

Summary

Details

Page properties
Content
... ... @@ -212,19 +212,33 @@
212 212  
213 213  {{plantuml}}
214 214  @startuml
215 +title Test
215 215  |A|
216 216  start
217 217  :actor = new Actor();
218 218  :actor.init();
219 -if(actor.process())then(true)
220 +if(actor.process())then(false)
221 +:actor.killSelf();
222 +else(true)
220 220  |B|
221 221  :actor.postProcess();
225 +note right
226 +This note is on several
227 + //lines// and can
228 + contain <b>HTML</b>
229 +end note
222 222  |A|
223 -else(false)
224 -:actor.killSelf();
225 225  endif
232 +while(actor.canFinish()) is (false)
226 226  :actor.finish();
227 -
234 +endwhile(true)
235 +partition stop {
236 +fork
237 + :actor.stop();
238 +fork again
239 + :env.stop();
240 +endfork
241 +}
228 228  end
229 229  
230 230  @endluml