... |
... |
@@ -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,10 +204,34 @@ |
204 |
204 |
{{/plantuml}} |
205 |
205 |
|
206 |
206 |
|
|
187 |
+{{sequence}} |
207 |
207 |
|
|
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 |
+ |
208 |
208 |
{{plantuml}} |
209 |
209 |
@startuml |
210 |
|
-title Test |
211 |
211 |
|A| |
212 |
212 |
start |
213 |
213 |
:actor = new Actor(); |
... |
... |
@@ -217,23 +217,17 @@ |
217 |
217 |
else(true) |
218 |
218 |
|B| |
219 |
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 |
225 |
|A| |
226 |
226 |
endif |
227 |
227 |
while(actor.canFinish()) is (false) |
228 |
228 |
:actor.finish(); |
229 |
229 |
endwhile(true) |
230 |
|
-partition stop { |
231 |
231 |
fork |
232 |
232 |
:actor.stop(); |
233 |
233 |
fork again |
234 |
234 |
:env.stop(); |
235 |
235 |
endfork |
236 |
|
-} |
|
234 |
+ |
237 |
237 |
end |
238 |
238 |
|
239 |
239 |
@endluml |
... |
... |
@@ -240,59 +240,6 @@ |
240 |
240 |
{{/plantuml}} |
241 |
241 |
|
242 |
242 |
|
243 |
|
- |
244 |
|
- |
245 |
|
-{{plantuml}} |
246 |
|
-@startuml |
247 |
|
- |
248 |
|
-interface Human{ |
249 |
|
-void eat() |
250 |
|
-} |
251 |
|
-note right |
252 |
|
-all human will extend this interface. |
253 |
|
-endnote |
254 |
|
- |
255 |
|
-class Father{ |
256 |
|
-void makeMoney() |
257 |
|
-} |
258 |
|
- |
259 |
|
-class Xiaoming{ |
260 |
|
-Human girlFriend |
261 |
|
-void play() |
262 |
|
-} |
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}} |