<
从版本< 15.1 >
xu yang编辑
在2021/11/30 13:56上
到版本
xu yang编辑
在2022/03/07 16:22上
修改评论 该版本没有评论

Summary

Details

Page properties
Content
... ... @@ -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  
... ... @@ -184,32 +184,74 @@
184 184  {{/plantuml}}
185 185  
186 186  
187 -{{sequence}}
188 188  
208 +{{plantuml}}
209 +@startuml
189 189  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 +这里是//中文//的<b>测试</b>
222 +end note
223 +|A|
224 +endif
225 +while(actor.canFinish()) is (false)
226 +:actor.finish();
227 +endwhile(true)
228 +partition stop {
229 +fork
230 + :actor.stop();
231 +fork again
232 + :env.stop();
233 +endfork
234 +}
235 +end
190 190  
191 -actor H
192 -H->A:
237 +@endluml
238 +{{/plantuml}}
193 193  
194 -A->+B:test
195 -B-->-A:finish
196 196  
197 -A->C:ping
198 -C->C:doSomthing
199 199  
200 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
243 +{{plantuml}}
244 +@startuml
208 208  
209 -{{/sequence}}
246 +interface Human{
247 +void eat()
248 +}
249 +note right
250 +all human will extend this interface.
251 +哈哈123
252 +endnote
210 210  
254 +class Father{
255 +void makeMoney()
256 +}
211 211  
258 +class Xiaoming{
259 +Human girlFriend
260 +void play()
261 +}
212 212  
263 +Human <|.. Father
264 +Human <|.. Xiaoming
265 +Father <|-- Xiaoming
266 +Human <.. Xiaoming
267 +
268 +@enduml
269 +{{/plantuml}}
270 +
271 +
272 +
273 +
274 +
213 213  页脚引用:
214 214  
215 215  {{footnote}}