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

Summary

Details

Page properties
Content
... ... @@ -139,5 +139,143 @@
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 +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 +哈哈123
254 +endnote
255 +
256 +class Father{
257 +void makeMoney()
258 +}
259 +
260 +class Xiaoming{
261 +Human girlFriend
262 +void play()
263 +}
264 +
265 +Human <|.. Father
266 +Human <|.. Xiaoming
267 +Father <|-- Xiaoming
268 +Human <.. Xiaoming
269 +
270 +@enduml
271 +{{/plantuml}}
272 +
273 +
274 +
275 +
276 +
277 +页脚引用:
278 +
279 +{{footnote}}
280 +footnote ???
281 +{{/footnote}}