... |
... |
@@ -151,9 +151,29 @@ |
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 |
+ |
154 |
154 |
draw: |
155 |
155 |
|
156 |
|
-{{diagram cached="false"/}} |
|
176 |
+{{diagram/}} |
157 |
157 |
|
158 |
158 |
|
159 |
159 |
|
... |
... |
@@ -232,12 +232,13 @@ |
232 |
232 |
while(actor.canFinish()) is (false) |
233 |
233 |
:actor.finish(); |
234 |
234 |
endwhile(true) |
|
255 |
+partition stop { |
235 |
235 |
fork |
236 |
236 |
:actor.stop(); |
237 |
237 |
fork again |
238 |
238 |
:env.stop(); |
239 |
239 |
endfork |
240 |
|
- |
|
261 |
+} |
241 |
241 |
end |
242 |
242 |
|
243 |
243 |
@endluml |
... |
... |
@@ -244,6 +244,58 @@ |
244 |
244 |
{{/plantuml}} |
245 |
245 |
|
246 |
246 |
|
|
268 |
+ |
|
269 |
+ |
|
270 |
+{{plantuml}} |
|
271 |
+@startuml |
|
272 |
+ |
|
273 |
+interface Human{ |
|
274 |
+void eat() |
|
275 |
+} |
|
276 |
+note right |
|
277 |
+all human will extend this interface. |
|
278 |
+endnote |
|
279 |
+ |
|
280 |
+class Father{ |
|
281 |
+void makeMoney() |
|
282 |
+} |
|
283 |
+ |
|
284 |
+class Xiaoming{ |
|
285 |
+Human girlFriend |
|
286 |
+void play() |
|
287 |
+} |
|
288 |
+ |
|
289 |
+Human <|.. Father |
|
290 |
+Human <|.. Xiaoming |
|
291 |
+Father <|-- Xiaoming |
|
292 |
+Human <.. Xiaoming |
|
293 |
+ |
|
294 |
+@enduml |
|
295 |
+{{/plantuml}} |
|
296 |
+ |
|
297 |
+ |
|
298 |
+ |
|
299 |
+{{plantuml}} |
|
300 |
+@startmindmap |
|
301 |
+ |
|
302 |
++ OS |
|
303 |
+++ Unix |
|
304 |
+++ Linux |
|
305 |
+++ MacOS |
|
306 |
+** Windows |
|
307 |
+*** Windows 95 |
|
308 |
+*** Windows 98 |
|
309 |
+*** Windows 7 |
|
310 |
+*** Windows 8 |
|
311 |
+*** Windows 10 |
|
312 |
+++ FreeBSD |
|
313 |
+++ Other |
|
314 |
+ |
|
315 |
+@endmindmap |
|
316 |
+{{/plantuml}} |
|
317 |
+ |
|
318 |
+ |
|
319 |
+ |
247 |
247 |
页脚引用: |
248 |
248 |
|
249 |
249 |
{{footnote}} |