Add a mermaid diagram

This commit is contained in:
Georgii Zhulikov 2025-03-24 15:17:06 +03:00
parent 629defd579
commit 22e768aa2c

View file

@ -43,6 +43,58 @@
- Образы Docker
Роль и связь компонентов модуля:
```mermaid
flowchart LR
%% External APIs
MLAPI[API ML-компонента]
PipeAPI-General[Общий API пайплайнов]
PipeAPI1[API первого пайплайна]
PipeAPI2[API второго пайплайна]
FileAPI[Файловый API]
%% S3 Infrastructure
S3Storage[(S3 Хранилище)]
FileAPI ---> S3Box-UserData[S3 Box: Данные пользователей]
FileAPI ---> S3Box-ModelWeights[S3 Box: Веса моделей]
S3Box-UserData --> S3Storage
%% ML Component Section
subgraph ML-Component["ML Component"]
direction LR
MLService[ML Service]
end
MLAPI --> ML-Component
ML-Component --> S3Box-UserData
ML-Component --> S3Box-ModelWeights
S3Box-ModelWeights --> S3Storage
%% Pipeline Sections
subgraph Pipeline1["Pipeline 1"]
direction LR
Pipeline1Service1[Pipeline 1 запуск 1]
Pipeline1Service2[Pipeline 1 запуск 2]
end
subgraph Pipeline2["Pipeline 2"]
direction LR
Pipeline2Service1[Pipeline 2 запуск 1]
end
PipeAPI1 --> Pipeline1
PipeAPI2 --> Pipeline2
PipeAPI-General --> Pipeline1
PipeAPI-General --> Pipeline2
Pipeline1 --> S3Box-UserData
Pipeline2 --> S3Box-UserData
```
## Репозиторий
Репозиторий модуля, который развёрнут на фреймворке, содержит: