exemple de DCU
This commit is contained in:
75
plantUML/exemples/DCPosition.svg
Normal file
75
plantUML/exemples/DCPosition.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 16 KiB |
41
plantUML/exemples/DCU.plantUML
Normal file
41
plantUML/exemples/DCU.plantUML
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
@startuml
|
||||||
|
scale 1.5
|
||||||
|
|
||||||
|
' anything after a quote is ignored (a comment).
|
||||||
|
|
||||||
|
/' anything between slash quote over several lines
|
||||||
|
potentially is also ignored '/
|
||||||
|
|
||||||
|
/' you can try to uncomment the following line to
|
||||||
|
see what happens'/
|
||||||
|
|
||||||
|
' left to right direction
|
||||||
|
|
||||||
|
' list the actors
|
||||||
|
|
||||||
|
actor "Librarian" as lib
|
||||||
|
actor "Head Librarian" as adlib
|
||||||
|
actor "unauthentified" as other
|
||||||
|
|
||||||
|
' list the usecase
|
||||||
|
|
||||||
|
rectangle OldFashionLibrary {
|
||||||
|
usecase "Deal with members" as UC1
|
||||||
|
usecase "Deal with books" as UC2
|
||||||
|
usecase "Log out" as UC3
|
||||||
|
usecase "Log in" as UC4
|
||||||
|
usecase "Deal with litigation" as UC5
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
' describe the arrows
|
||||||
|
|
||||||
|
lib -- UC1
|
||||||
|
lib -- UC2
|
||||||
|
lib -- UC3
|
||||||
|
other -- UC4
|
||||||
|
adlib -- UC5
|
||||||
|
|
||||||
|
lib <|-- adlib
|
||||||
|
|
||||||
|
@enduml
|
||||||
@@ -23,10 +23,10 @@ L'idée est quand même de laisser l'outil vous faire un rendu automatique.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## alternative similaire à PlantUML
|
## Alternative similaire à PlantUML
|
||||||
|
|
||||||
Il existe une alternative qui elle est rendue correctement, mermaid.
|
Il existe une alternative qui elle est rendue correctement dans du markdown sur le serveur git du département: mermaid.
|
||||||
Toutefois ça semble moins maib stream que plantUML.
|
Toutefois cet outil semble être moins utilisé que plantUML avec encore pas mal de parties instables.
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
classDiagram
|
classDiagram
|
||||||
|
|||||||
Reference in New Issue
Block a user