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

Summary

Details

Page properties
Content
... ... @@ -153,9 +153,97 @@
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 +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 +
159 159  页脚引用:
160 160  
161 161  {{footnote}}