... |
... |
@@ -151,152 +151,10 @@ |
151 |
151 |
{{/cache}} |
152 |
152 |
|
153 |
153 |
|
154 |
|
-{{plantuml}} |
155 |
|
-@startuml |
156 |
|
-start |
157 |
|
-:do something; |
158 |
|
-note right |
159 |
|
-gogogogogo |
160 |
|
-end note |
161 |
|
-:do something2; |
162 |
|
-:do something3; |
163 |
|
-if (finish) then(no) |
164 |
|
-:do something4; |
165 |
|
-else(yes) |
166 |
|
-:do something5; |
167 |
|
-endif |
168 |
|
-end |
169 |
|
-@enduml |
170 |
|
-{{/plantuml}} |
171 |
|
- |
172 |
|
- |
173 |
|
- |
174 |
174 |
draw: |
175 |
175 |
|
176 |
|
-{{diagram/}} |
177 |
177 |
|
178 |
178 |
|
179 |
|
- |
180 |
|
-{{plantuml}} |
181 |
|
-@startuml |
182 |
|
-'skinparam handwritten true |
183 |
|
-actor A |
184 |
|
-A -> B: 1.request |
185 |
|
-activate B |
186 |
|
-B -> C: 2.ping |
187 |
|
-activate C |
188 |
|
-C -> D: 3.ping |
189 |
|
-activate D |
190 |
|
-D -> D: 4.doSomething |
191 |
|
-note right |
192 |
|
-process internal function |
193 |
|
-end note |
194 |
|
-activate D |
195 |
|
-D --> A: 5.send Msg |
196 |
|
-deactivate D |
197 |
|
-D --> C: 6.pong |
198 |
|
-deactivate D |
199 |
|
-C --> B: 7.pong |
200 |
|
-deactivate C |
201 |
|
-B --> A: 8.response |
202 |
|
-deactivate B |
203 |
|
-@enduml |
204 |
|
-{{/plantuml}} |
205 |
|
- |
206 |
|
- |
207 |
|
-{{sequence}} |
208 |
|
- |
209 |
|
-title Test |
210 |
|
- |
211 |
|
-actor H |
212 |
|
-H->A: |
213 |
|
- |
214 |
|
-A->+B:test |
215 |
|
-B-->-A:finish |
216 |
|
- |
217 |
|
-A->+C:ping |
218 |
|
-C->C:doSomthing |
219 |
|
-C-->-B: finish |
220 |
|
- |
221 |
|
-B->+D:hello |
222 |
|
-D->+C:ping |
223 |
|
-C-->-D:pong |
224 |
|
-D->+B:ping |
225 |
|
-B->+A:ping |
226 |
|
-A-->-B:pong |
227 |
|
-B-->-D:pong |
228 |
|
- |
229 |
|
-{{/sequence}} |
230 |
|
- |
231 |
|
- |
232 |
|
- |
233 |
|
-{{plantuml}} |
234 |
|
-@startuml |
235 |
|
-title Test |
236 |
|
-|A| |
237 |
|
-start |
238 |
|
-:actor = new Actor(); |
239 |
|
-:actor.init(); |
240 |
|
-if(actor.process())then(false) |
241 |
|
-:actor.killSelf(); |
242 |
|
-else(true) |
243 |
|
-|B| |
244 |
|
-:actor.postProcess(); |
245 |
|
-note right |
246 |
|
-This note is on several |
247 |
|
- //lines// and can |
248 |
|
- contain <b>HTML</b> |
249 |
|
-end note |
250 |
|
-|A| |
251 |
|
-endif |
252 |
|
-while(actor.canFinish()) is (false) |
253 |
|
-:actor.finish(); |
254 |
|
-endwhile(true) |
255 |
|
-partition stop { |
256 |
|
-fork |
257 |
|
- :actor.stop(); |
258 |
|
-fork again |
259 |
|
- :env.stop(); |
260 |
|
-endfork |
261 |
|
-} |
262 |
|
-end |
263 |
|
- |
264 |
|
-@endluml |
265 |
|
-{{/plantuml}} |
266 |
|
- |
267 |
|
- |
268 |
|
- |
269 |
|
-{{plantuml}} |
270 |
|
-@startmindmap |
271 |
|
- |
272 |
|
-+ OS |
273 |
|
- |
274 |
|
-++ Unix |
275 |
|
- |
276 |
|
-++ Linux |
277 |
|
- |
278 |
|
-++ MacOS |
279 |
|
- |
280 |
|
-** Windows |
281 |
|
- |
282 |
|
-*** Windows 95 |
283 |
|
- |
284 |
|
-*** Windows 98 |
285 |
|
- |
286 |
|
-*** Windows 7 |
287 |
|
- |
288 |
|
-*** Windows 8 |
289 |
|
- |
290 |
|
-*** Windows 10 |
291 |
|
- |
292 |
|
-++ FreeBSD |
293 |
|
- |
294 |
|
-++ Other |
295 |
|
- |
296 |
|
-@endmindmap |
297 |
|
-{{/plantuml}} |
298 |
|
- |
299 |
|
- |
300 |
300 |
页脚引用: |
301 |
301 |
|
302 |
302 |
{{footnote}} |