From 4967ec3d7f05c4eceb9b8b7fd9abb846b8f3b311 Mon Sep 17 00:00:00 2001 From: kolo Date: Sun, 2 Nov 2025 14:21:03 +0300 Subject: [PATCH] docs --- docs/index.rst | 56 ++------------------------------------------------ 1 file changed, 2 insertions(+), 54 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 061f51c..c92e9cf 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -31,60 +31,8 @@ Argenta предназначена для создания приложений, Следующая диаграмма иллюстрирует, как компоненты Argenta взаимодействуют друг с другом, обрабатывая ввод пользователя. -.. graphviz:: - - 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. Отображение результата"]; - } - +.. image:: https://i.ibb.co/hF3FdFr1/argenta-intro-drawio-2.png + :alt: Архитектура Argenta .. toctree:: :hidden: