<
从版本< 12.1 >
xu yang编辑
在2021/11/30 12:08上
到版本
xu yang编辑
在2022/03/07 16:19上
>
修改评论 该版本没有评论

Summary

Details

Page properties
Content
... ... @@ -151,14 +151,148 @@
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  
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}}
160 160  
161 161  
207 +
208 +{{plantuml}}
209 +@startuml
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 +
239 +@endluml
240 +{{/plantuml}}
241 +
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 +
162 162  页脚引用:
163 163  
164 164  {{footnote}}