This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| test-diagrams [2022-03-31 23:53] – created nik | test-diagrams [2022-04-08 02:08] (current) – nik | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| === d i a g r a m s / plantuML === | === d i a g r a m s / plantuML === | ||
| - | (using the [[https:// | + | using the [[https:// |
| <uml> | <uml> | ||
| Line 20: | Line 20: | ||
| </ | </ | ||
| + | some examples from https:// | ||
| + | <uml> | ||
| + | title DCP - Cahier des charges\n MOA : < | ||
| + | left to right direction | ||
| + | skinparam shadowing false | ||
| + | |||
| + | class " | ||
| + | class " | ||
| + | class " | ||
| + | class " | ||
| + | class " | ||
| + | class " | ||
| + | class " | ||
| + | class " | ||
| + | class " | ||
| + | class " | ||
| + | |||
| + | evenement " | ||
| + | evenement " | ||
| + | tache " | ||
| + | tache " | ||
| + | role " | ||
| + | question " | ||
| + | sms " | ||
| + | role " | ||
| + | demande " | ||
| + | adherent " | ||
| + | type " | ||
| + | demande " | ||
| + | </ | ||
| + | |||
| + | <uml> | ||
| + | skinparam backgroundColor #EEEBDC | ||
| + | actor 使用者 | ||
| + | participant " 頭等艙" | ||
| + | participant " 第二類" | ||
| + | participant " 最後一堂課" | ||
| + | 使用者-> | ||
| + | activate A | ||
| + | A -> B: 創建請求 | ||
| + | activate B | ||
| + | B -> 別的東西: | ||
| + | activate 別的東西 | ||
| + | 別的東西--> | ||
| + | destroy 別的東西 | ||
| + | B --> A: 請求創建 | ||
| + | deactivate B | ||
| + | A --> 使用者: 做完 | ||
| + | deactivate A | ||
| + | </ | ||
| + | |||
| + | <uml> | ||
| + | skinparam activity { | ||
| + | FontColor | ||
| + | AttributeFontColor white | ||
| + | FontSize | ||
| + | AttributeFontSize | ||
| + | AttributeFontname | ||
| + | BackgroundColor | ||
| + | BorderColor | ||
| + | ArrowColor | ||
| + | } | ||
| + | |||
| + | partition start { | ||
| + | (*) --> if "steam pump\nmounted ?" then | ||
| + | -right-> [No] "echo a warning" | ||
| + | --> (*) | ||
| + | else | ||
| + | if " | ||
| + | -right-> [No] "echo location " | ||
| + | --> (*) | ||
| + | else | ||
| + | if " | ||
| + | -right-> [No] "start flying" | ||
| + | if " | ||
| + | --> [No] "exit stage left" | ||
| + | --> (*) | ||
| + | else | ||
| + | --> [Yes] ===A=== | ||
| + | endif | ||
| + | else | ||
| + | --> [Yes] ===A=== | ||
| + | endif | ||
| + | --> "start chasing elephants" | ||
| + | if " | ||
| + | --> [No] "exit 2" | ||
| + | --> (*) | ||
| + | else | ||
| + | --> [Yes] (*) | ||
| + | endif | ||
| + | endif | ||
| + | endif | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | <uml> | ||
| + | @startjson | ||
| + | {" | ||
| + | @endjson | ||
| + | </ | ||