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

Summary

Details

Page properties
Content
... ... @@ -184,6 +184,66 @@
184 184  {{/plantuml}}
185 185  
186 186  
187 +{{sequence}}
188 +
189 +title Test
190 +
191 +actor H
192 +H->A:
193 +
194 +A->+B:test
195 +B-->-A:finish
196 +
197 +A->+C:ping
198 +C->C:doSomthing
199 +C-->-B: finish
200 +
201 +B->+D:hello
202 +D->+C:ping
203 +C-->-D:pong
204 +D->+B:ping
205 +B->+A:ping
206 +A-->-B:pong
207 +B-->-D:pong
208 +
209 +{{/sequence}}
210 +
211 +
212 +
213 +{{plantuml}}
214 +@startuml
215 +title Test
216 +|A|
217 +start
218 +:actor = new Actor();
219 +:actor.init();
220 +if(actor.process())then(false)
221 +:actor.killSelf();
222 +else(true)
223 +|B|
224 +:actor.postProcess();
225 +note right
226 +This note is on several
227 + //lines// and can
228 + contain <b>HTML</b>
229 +end note
230 +|A|
231 +endif
232 +while(actor.canFinish()) is (false)
233 +:actor.finish();
234 +endwhile(true)
235 +fork
236 + :actor.stop();
237 +fork again
238 + :env.stop();
239 +endfork
240 +
241 +end
242 +
243 +@endluml
244 +{{/plantuml}}
245 +
246 +
187 187  页脚引用:
188 188  
189 189  {{footnote}}