From 5a6c5d7b2ca0b604f54a54a00e8bd4beec03eff7 Mon Sep 17 00:00:00 2001 From: Florent Madelaine Date: Fri, 7 Nov 2025 09:48:25 +0100 Subject: [PATCH] exemple de DCU --- plantUML/exemples/DCPosition.svg | 75 ++++++++++++++++++++++++++++++++ plantUML/exemples/DCU.plantUML | 41 +++++++++++++++++ plantUML/readme.md | 6 +-- 3 files changed, 119 insertions(+), 3 deletions(-) create mode 100644 plantUML/exemples/DCPosition.svg create mode 100644 plantUML/exemples/DCU.plantUML diff --git a/plantUML/exemples/DCPosition.svg b/plantUML/exemples/DCPosition.svg new file mode 100644 index 0000000..5615156 --- /dev/null +++ b/plantUML/exemples/DCPosition.svg @@ -0,0 +1,75 @@ +StationLiaisonLigneParcoursParcours SimpleParcours Complexe1-debut1-fin1-debut1-finLiaisons de la meme lignequi se suiventParcours simplesqui se suivent \ No newline at end of file diff --git a/plantUML/exemples/DCU.plantUML b/plantUML/exemples/DCU.plantUML new file mode 100644 index 0000000..82d2c6e --- /dev/null +++ b/plantUML/exemples/DCU.plantUML @@ -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 diff --git a/plantUML/readme.md b/plantUML/readme.md index 251d630..a1d1228 100644 --- a/plantUML/readme.md +++ b/plantUML/readme.md @@ -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. -Toutefois ça semble moins maib stream que plantUML. +Il existe une alternative qui elle est rendue correctement dans du markdown sur le serveur git du département: mermaid. +Toutefois cet outil semble être moins utilisé que plantUML avec encore pas mal de parties instables. ```mermaid classDiagram