Перейти к содержанию

Схема архитектуры

---
config:
  theme: mc
  layout: elk
  look: neo
---
flowchart TB
 subgraph s1["Пайплайн обработки"]
        n8["Video Manager"]
        n9["Video Worker"]
        n10["Shot Manager"]
        n11["Shot Worker"]
        n14["Pipeline Router"]
        n15["Events Enrichment"]
        n17["Extraction API"]
  end
 subgraph s2["Управление платформой"]
        n4["Main API"]
        n6["MongoDB"]
        n7["Camera Syncer"]
        n5["Media Source Provider"]
  end
 subgraph s3["Функциональные решения"]
        n19["ФР Мониторинг ТКО"]
        n20["ФР Подсчет объектов"]
        n21["ФР Сорока"]
  end
    Users["Пользователи"] --> n1["UI"] & n2["Blober"] & n3["Camera Viewer"] & ApiGateway["API Gateway"]
    n1 --> ApiGateway
    ApiGateway --> n4 & n21 & n19 & n20 & n5
    n4 --> n6
    n5 --> n6
    n7 --> n8 & n10 & n6
    n8 --> n9
    n9 --> n14
    n11 --> n14
    n14 --> n13["Data storage"] & n15
    n15 --> n17 & n21 & n20 & n19
    n10 L_n10_n11_0@--> n11
    n2 --> n13
    n17 --> n13
    n19 --> n13
    n20 --> n13
    n21 --> n13
    n9@{ shape: rounded}
    n10@{ shape: rect}
    n11@{ shape: rounded}
    n14@{ shape: rounded}
    n15@{ shape: rounded}
    n17@{ shape: rounded}
    n4@{ shape: rounded}
    n6@{ shape: db}
    n7@{ shape: rounded}
    n5@{ shape: rounded}
    n19@{ shape: rounded}
    n20@{ shape: rounded}
    n21@{ shape: rounded}
    Users@{ shape: card}
    n1@{ shape: rounded}
    n2@{ shape: rounded}
    n3@{ shape: rounded}
    ApiGateway@{ shape: rounded}
    n13@{ shape: das}
    L_n14_n15_0@{ animation: slow }
    L_n15_n21_0@{ animation: slow }
    L_n15_n20_0@{ animation: slow }
    L_n15_n19_0@{ animation: slow }
    L_n10_n11_0@{ animation: slow }