diff --git a/doc/anyreport.puml b/doc/class-diagram.puml similarity index 96% rename from doc/anyreport.puml rename to doc/class-diagram.puml index 24b4f32..47ab336 100644 --- a/doc/anyreport.puml +++ b/doc/class-diagram.puml @@ -1,5 +1,6 @@ @startuml anyreport !theme cerulean-outline +'left to right direction package moodle-anyreport{ ' сборка приложения class App{ diff --git a/doc/use-case.puml b/doc/use-case.puml new file mode 100644 index 0000000..200cd71 --- /dev/null +++ b/doc/use-case.puml @@ -0,0 +1,35 @@ +@startuml anyreport +!theme cerulean-outline +left to right direction +skinparam packageStyle rectangle +actor :User: as user + +rectangle "Access-pane"{ + usecase (Set account data ) as link + usecase (Connect to database) as connect + usecase (Disconnect from database) as disconnect + user -- link + user -- connect + user -- disconnect +} +rectangle "UsersByTag-pane"{ + usecase (Add tag ) as add + usecase (Remove tag) as remove + usecase (Viev current tags) as currentTags + user -- add + user -- remove + user -- currentTags +} +rectangle "Report-pane"{ + usecase (Viev results ) as results + usecase (Download xlsx report) as xlsxReport + usecase (Viev Statistics) as statistics + usecase (Download text Statistics) as textStatistics + user -- results + user -- xlsxReport + user -- statistics + user -- textStatistics +} + + +@enduml \ No newline at end of file