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

Summary

Details

Page properties
Content
... ... @@ -153,9 +153,96 @@
153 153  
154 154  draw:
155 155  
156 +{{diagram cached="false"/}}
156 156  
157 157  
158 158  
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 +
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 +|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
239 +
240 +end
241 +
242 +@endluml
243 +{{/plantuml}}
244 +
245 +
159 159  页脚引用:
160 160  
161 161  {{footnote}}