some exemple for plantuml
This commit is contained in:
parent
2ee12ca042
commit
92c2faa858
27
readme.md
27
readme.md
@ -7,29 +7,14 @@
|
|||||||
- Demonstrate the right functioning of the XF by comparing and documenting the output created by the tests running on the *Embedded System*
|
- Demonstrate the right functioning of the XF by comparing and documenting the output created by the tests running on the *Embedded System*
|
||||||
|
|
||||||
# Time Algorithm
|
# Time Algorithm
|
||||||
``` mermaid
|
|
||||||
flowchart TD
|
|
||||||
insert[it.subRelTick\ninsert]
|
|
||||||
|
|
||||||
|
|
||||||
A(Start)--> B[relTime = 0]
|
|
||||||
B --> C{relTime < desireTime}
|
|
||||||
C --> |Yes| D[it++]
|
|
||||||
D --> E{ End ? }
|
|
||||||
E --> |No| F[it.getRelTick]
|
|
||||||
F --> C
|
|
||||||
E --> |Yes| insert
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
```plantuml
|
```plantuml
|
||||||
@startuml component
|
@startuml
|
||||||
actor client
|
(*) --> "relTime = 0" as rt0
|
||||||
node app
|
rt0 --> if goForward then
|
||||||
database db
|
-left--> [false] "insert"
|
||||||
|
else
|
||||||
db -> app
|
-right--> [true] "do Stuff"
|
||||||
app -> client
|
|
||||||
@enduml
|
@enduml
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user