<
从版本< 13.1 >
xu yang编辑
在2021/11/30 13:54上
到版本
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,6 +184,74 @@
184 184  {{/plantuml}}
185 185  
186 186  
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 +这里是//中文//的<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
236 +
237 +@endluml
238 +{{/plantuml}}
239 +
240 +
241 +
242 +
243 +{{plantuml}}
244 +@startuml
245 +
246 +interface Human{
247 +void eat()
248 +}
249 +note right
250 +all human will extend this interface.
251 +哈哈123
252 +endnote
253 +
254 +class Father{
255 +void makeMoney()
256 +}
257 +
258 +class Xiaoming{
259 +Human girlFriend
260 +void play()
261 +}
262 +
263 +Human <|.. Father
264 +Human <|.. Xiaoming
265 +Father <|-- Xiaoming
266 +Human <.. Xiaoming
267 +
268 +@enduml
269 +{{/plantuml}}
270 +
271 +
272 +
273 +
274 +
187 187  页脚引用:
188 188  
189 189  {{footnote}}