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

Summary

Details

Page properties
Content
... ... @@ -153,21 +153,96 @@
153 153  
154 154  draw:
155 155  
156 +{{diagram cached="false"/}}
157 +
158 +
159 +
160 +{{plantuml}}
161 +@startuml
162 +'skinparam handwritten true
163 +actor A
164 +A -> B: 1.request
165 +activate B
166 +B -> C: 2.ping
167 +activate C
168 +C -> D: 3.ping
169 +activate D
170 +D -> D: 4.doSomething
171 +note right
172 +process internal function
173 +end note
174 +activate D
175 +D --> A: 5.send Msg
176 +deactivate D
177 +D --> C: 6.pong
178 +deactivate D
179 +C --> B: 7.pong
180 +deactivate C
181 +B --> A: 8.response
182 +deactivate B
183 +@enduml
184 +{{/plantuml}}
185 +
186 +
156 156  {{sequence}}
188 +
157 157  title Test
158 158  
159 -Alice->Bob: Authentication Request
160 -note right of Bob: Bob thinks about it
161 -Bob->Yang: Authentication Response
191 +actor H
192 +H->A:
162 162  
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 +
163 163  {{/sequence}}
164 164  
165 165  
166 -diagram:
167 167  
168 -{{diagram/}}
213 +{{plantuml}}
214 +@startuml
215 +|A|
216 +start
217 +:actor = new Actor();
218 +:actor.init();
219 +if(actor.process())then(false)
220 +:actor.killSelf();
221 +else(true)
222 +|B|
223 +:actor.postProcess();
224 +note right
225 +This note is on several
226 + //lines// and can
227 + contain <b>HTML</b>
228 +end note
229 +|A|
230 +endif
231 +while(actor.canFinish()) is (false)
232 +:actor.finish();
233 +endwhile(true)
234 +fork
235 + :actor.stop();
236 +fork again
237 + :env.stop();
238 +endfork
169 169  
240 +end
170 170  
242 +@endluml
243 +{{/plantuml}}
244 +
245 +
171 171  页脚引用:
172 172  
173 173  {{footnote}}