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

Summary

Details

Page properties
Content
... ... @@ -139,5 +139,141 @@
139 139  {{/code}}
140 140  
141 141  
142 +include:
142 142  
144 +{{include reference="Diagram.WebHome"/}}
143 143  
146 +
147 +cache:
148 +
149 +{{cache}}
150 +test cache.
151 +{{/cache}}
152 +
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 +draw:
175 +
176 +{{diagram/}}
177 +
178 +
179 +
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}}
205 +
206 +
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 +
275 +页脚引用:
276 +
277 +{{footnote}}
278 +footnote ???
279 +{{/footnote}}