From 8d70b43484eaf5fbd45be77041c07f7fbce00d5d Mon Sep 17 00:00:00 2001 From: Astitva Sehgal <69433630+astitva1905@users.noreply.github.com> Date: Thu, 7 Sep 2023 17:22:20 +0530 Subject: [PATCH] Add files via upload --- docs/package-diagram.puml | 78 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/package-diagram.puml diff --git a/docs/package-diagram.puml b/docs/package-diagram.puml new file mode 100644 index 000000000..f57efc494 --- /dev/null +++ b/docs/package-diagram.puml @@ -0,0 +1,78 @@ +@startuml +hide empty members + + +package "Routes" { + class "Workbench" + class "Library" + class "Digital Twins" as DT + + Workbench -l[hidden]- Library + Library -l[hidden]- DT +} + +package "Page" { + package "StructualComponent" { + class Layout + class Tabs + class PrivateRoute + + Layout -l[hidden]- Tabs + Tabs -l[hidden]- PrivateRoute + } + package "BaseComponent" { + class Footer + class Menu + class Title + + Title -l[hidden]- Menu + Menu -l[hidden]- Footer + } + + StructualComponent --[hidden] BaseComponent +} + +package "Util" { + class APIutil + class EnvUtil + + APIutil -l[hidden]- EnvUtil +} + +package "Components" { + class Iframe + class LinkButtons + class ShoppingCart + class AssetBoard + + Iframe -l[hidden] LinkButtons + LinkButtons -l[hidden] ShoppingCart + ShoppingCart -l[hidden] AssetBoard +} + +package "Store" { + class AuthAcess { + + useAuthToken() + } + class AppAcess { + + useApp() + } + class CartAcess { + + useCart() + } + class UserAcess { + + useUserData() + } + + AuthAcess -l[hidden] AppAcess + AppAcess -l[hidden] CartAcess + CartAcess -l[hidden] UserAcess +} + +Routes ..> Page : <> +Routes ..> Util : <> +Routes ..> Components : <> +Util ..> Store +Components ..> Util : <> +Components ..> Store : <> +@enduml \ No newline at end of file