... |
... |
@@ -151,29 +151,9 @@ |
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/}} |
|
156 |
+{{diagram cached="false"/}} |
177 |
177 |
|
178 |
178 |
|
179 |
179 |
|
... |
... |
@@ -204,95 +204,32 @@ |
204 |
204 |
{{/plantuml}} |
205 |
205 |
|
206 |
206 |
|
|
187 |
+{{sequence}} |
207 |
207 |
|
208 |
|
-{{plantuml}} |
209 |
|
-@startuml |
210 |
210 |
title Test |
211 |
|
-|A| |
212 |
|
-start |
213 |
|
-:actor = new Actor(); |
214 |
|
-:actor.init(); |
215 |
|
-if(actor.process())then(false) |
216 |
|
-:actor.killSelf(); |
217 |
|
-else(true) |
218 |
|
-|B| |
219 |
|
-:actor.postProcess(); |
220 |
|
-note right |
221 |
|
-This note is on several |
222 |
|
- //lines// and can |
223 |
|
- contain <b>HTML</b> |
224 |
|
-end note |
225 |
|
-|A| |
226 |
|
-endif |
227 |
|
-while(actor.canFinish()) is (false) |
228 |
|
-:actor.finish(); |
229 |
|
-endwhile(true) |
230 |
|
-partition stop { |
231 |
|
-fork |
232 |
|
- :actor.stop(); |
233 |
|
-fork again |
234 |
|
- :env.stop(); |
235 |
|
-endfork |
236 |
|
-} |
237 |
|
-end |
238 |
238 |
|
239 |
|
-@endluml |
240 |
|
-{{/plantuml}} |
|
191 |
+actor H |
|
192 |
+H-->A: |
241 |
241 |
|
|
194 |
+A->+B:test |
|
195 |
+B->-A:finish |
242 |
242 |
|
|
197 |
+A->C:ping |
|
198 |
+C->C:doSomthing |
243 |
243 |
|
244 |
244 |
|
245 |
|
-{{plantuml}} |
246 |
|
-@startuml |
|
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 |
247 |
247 |
|
248 |
|
-interface Human{ |
249 |
|
-void eat() |
250 |
|
-} |
251 |
|
-note right |
252 |
|
-all human will extend this interface. |
253 |
|
-endnote |
|
209 |
+{{/sequence}} |
254 |
254 |
|
255 |
|
-class Father{ |
256 |
|
-void makeMoney() |
257 |
|
-} |
258 |
258 |
|
259 |
|
-class Xiaoming{ |
260 |
|
-Human girlFriend |
261 |
|
-void play() |
262 |
|
-} |
263 |
263 |
|
264 |
|
-Human <|.. Father |
265 |
|
-Human <|.. Xiaoming |
266 |
|
-Father <|-- Xiaoming |
267 |
|
-Human <.. Xiaoming |
268 |
|
- |
269 |
|
-@enduml |
270 |
|
-{{/plantuml}} |
271 |
|
- |
272 |
|
- |
273 |
|
- |
274 |
|
-{{plantuml}} |
275 |
|
-@startmindmap |
276 |
|
- |
277 |
|
-+ OS |
278 |
|
-++ Unix |
279 |
|
-++ Linux |
280 |
|
-++ MacOS |
281 |
|
-** Windows |
282 |
|
-*** Windows 95 |
283 |
|
-*** Windows 98 |
284 |
|
-*** Windows 7 |
285 |
|
-*** Windows 8 |
286 |
|
-*** Windows 10 |
287 |
|
-++ FreeBSD |
288 |
|
-++ Other |
289 |
|
-++ 华为鸿蒙 |
290 |
|
- |
291 |
|
-@endmindmap |
292 |
|
-{{/plantuml}} |
293 |
|
- |
294 |
|
- |
295 |
|
- |
296 |
296 |
页脚引用: |
297 |
297 |
|
298 |
298 |
{{footnote}} |