mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
docs
This commit is contained in:
+2
-54
@@ -31,60 +31,8 @@ Argenta предназначена для создания приложений,
|
|||||||
|
|
||||||
Следующая диаграмма иллюстрирует, как компоненты Argenta взаимодействуют друг с другом, обрабатывая ввод пользователя.
|
Следующая диаграмма иллюстрирует, как компоненты Argenta взаимодействуют друг с другом, обрабатывая ввод пользователя.
|
||||||
|
|
||||||
.. graphviz::
|
.. image:: https://i.ibb.co/hF3FdFr1/argenta-intro-drawio-2.png
|
||||||
|
:alt: Архитектура Argenta
|
||||||
digraph "Request Lifecycle" {
|
|
||||||
rankdir=LR;
|
|
||||||
node [shape=box, style=rounded, fontname="sans-serif"];
|
|
||||||
edge [fontname="sans-serif"];
|
|
||||||
|
|
||||||
subgraph cluster_input {
|
|
||||||
label = "Пользовательский ввод";
|
|
||||||
style=filled;
|
|
||||||
color=lightgrey;
|
|
||||||
node [style=filled,color=white];
|
|
||||||
"User Input" [label="Ввод команды"];
|
|
||||||
}
|
|
||||||
|
|
||||||
subgraph cluster_core {
|
|
||||||
label = "Ядро Argenta";
|
|
||||||
style=filled;
|
|
||||||
color=lightblue;
|
|
||||||
node [style=filled,color=white];
|
|
||||||
"Orchestrator";
|
|
||||||
"App";
|
|
||||||
"Router";
|
|
||||||
"Command Handler" [label="Обработчик команды"];
|
|
||||||
}
|
|
||||||
|
|
||||||
subgraph cluster_di {
|
|
||||||
label = "Внедрение зависимостей";
|
|
||||||
style=filled;
|
|
||||||
color=lightgreen;
|
|
||||||
node [style=filled,color=white];
|
|
||||||
"DI Container (dishka)" [label="DI-контейнер (dishka)"];
|
|
||||||
"Dependencies" [label="Зависимости (напр., Repository)"];
|
|
||||||
}
|
|
||||||
|
|
||||||
subgraph cluster_output {
|
|
||||||
label = "Вывод";
|
|
||||||
style=filled;
|
|
||||||
color=lightgrey;
|
|
||||||
node [style=filled,color=white];
|
|
||||||
"User Output" [label="Вывод результата"];
|
|
||||||
}
|
|
||||||
|
|
||||||
"User Input" -> "Orchestrator" [label="1. Запуск и парсинг"];
|
|
||||||
"Orchestrator" -> "App" [label="2. Передача управления"];
|
|
||||||
"App" -> "Router" [label="3. Поиск нужного роутера"];
|
|
||||||
"Router" -> "Command Handler" [label="4. Вызов обработчика"];
|
|
||||||
"Command Handler" -> "DI Container (dishka)" [label="5. Запрос зависимостей"];
|
|
||||||
"DI Container (dishka)" -> "Dependencies" [label="6. Создание и предоставление"];
|
|
||||||
"Dependencies" -> "Command Handler" [label="7. Внедрение"];
|
|
||||||
"Command Handler" -> "App" [label="8. Формирование ответа"];
|
|
||||||
"App" -> "User Output" [label="9. Отображение результата"];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:hidden:
|
:hidden:
|
||||||
|
|||||||
Reference in New Issue
Block a user