Update schemes

This commit is contained in:
pro100ton 2025-02-11 15:17:18 +03:00
parent f3941a494c
commit c49ebe82e3
4 changed files with 298 additions and 1 deletions

View file

@ -0,0 +1,120 @@
<mxfile host="Electron" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.17 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" version="24.7.17">
<diagram name="Page-1" id="D102nlsedoLYcsxv54MV">
<mxGraphModel dx="1649" dy="400" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="6MixKwhiBb0wiFJ191Fe-2" value="&lt;b&gt;Workflow&lt;/b&gt;" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#dae8fc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="10" y="200" width="170" height="182" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-30" value="+ id: int" style="text;strokeColor=#82b366;fillColor=#d5e8d4;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-2">
<mxGeometry y="26" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-3" value="+ name: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-2">
<mxGeometry y="52" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-4" value="+ created_at: datetime" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-2">
<mxGeometry y="78" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-5" value="+ workflow_type: enum" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-2">
<mxGeometry y="104" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-15" value="+ workflow_status: enum" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-2">
<mxGeometry y="130" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-22" value="+ description: text" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-2">
<mxGeometry y="156" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-7" value="&amp;lt;&amp;lt;enumeration&amp;gt;&amp;gt;&lt;br&gt;&lt;b&gt;WorkflowType&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;html=1;whiteSpace=wrap;" vertex="1" parent="1">
<mxGeometry x="-260" y="144" width="140" height="160" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-8" value="general" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-7">
<mxGeometry y="40" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-10" value="change_access" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-7">
<mxGeometry y="70" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-11" value="change_object" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-7">
<mxGeometry y="100" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-12" value="custom" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-7">
<mxGeometry y="130" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-14" value="" style="endArrow=open;endFill=1;endSize=12;html=1;rounded=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1" source="6MixKwhiBb0wiFJ191Fe-5" target="6MixKwhiBb0wiFJ191Fe-7">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="140" y="530" as="sourcePoint" />
<mxPoint x="300" y="530" as="targetPoint" />
<Array as="points">
<mxPoint x="-60" y="317" />
<mxPoint x="-60" y="240" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-16" value="&amp;lt;&amp;lt;enumeration&amp;gt;&amp;gt;&lt;br&gt;&lt;b&gt;WorkflowStatus&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;html=1;whiteSpace=wrap;" vertex="1" parent="1">
<mxGeometry x="-260" y="320" width="140" height="130" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-17" value="active" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-16">
<mxGeometry y="40" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-18" value="inactive" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-16">
<mxGeometry y="70" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-19" value="draft" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-16">
<mxGeometry y="100" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-21" value="" style="endArrow=open;endFill=1;endSize=12;html=1;rounded=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1" source="6MixKwhiBb0wiFJ191Fe-15" target="6MixKwhiBb0wiFJ191Fe-16">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="190" y="301" as="sourcePoint" />
<mxPoint x="295" y="301" as="targetPoint" />
<Array as="points">
<mxPoint x="-60" y="343" />
<mxPoint x="-60" y="385" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-23" value="&lt;b&gt;Step&lt;/b&gt;" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#dae8fc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="320" y="80" width="170" height="156" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-32" value="+ id: int" style="text;strokeColor=#82b366;fillColor=#d5e8d4;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-23">
<mxGeometry y="26" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-33" value="+ workflow_id: int" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-23">
<mxGeometry y="52" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-24" value="+ name: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-23">
<mxGeometry y="78" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-28" value="+ description: text" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-23">
<mxGeometry y="104" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-25" value="+ need_agreement: bool" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-23">
<mxGeometry y="130" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-31" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;startArrow=ERmandOne;rounded=0;endFill=0;" edge="1" parent="1" source="6MixKwhiBb0wiFJ191Fe-2" target="6MixKwhiBb0wiFJ191Fe-23">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="-80" y="600" as="sourcePoint" />
<mxPoint x="20" y="500" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-34" value="&lt;b&gt;Field&lt;/b&gt;" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#dae8fc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="320" y="400" width="170" height="78" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-35" value="+ id: int" style="text;strokeColor=#82b366;fillColor=#d5e8d4;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-34">
<mxGeometry y="26" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-36" value="+ workflow_id: int" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-34">
<mxGeometry y="52" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-40" value="&lt;b&gt;Responsibles&lt;/b&gt;" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#dae8fc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="320" y="556" width="170" height="78" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-41" value="+ id: int" style="text;strokeColor=#82b366;fillColor=#d5e8d4;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-40">
<mxGeometry y="26" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-42" value="+ workflow_id: int" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-40">
<mxGeometry y="52" width="170" height="26" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View file

@ -0,0 +1,46 @@
@startwbs
!procedure $app_entry($name)
[#SkyBlue] $name
!endprocedure
* Корень проекта
** kupol_mgmnt_rc
*** alembic
*** app
**** core
*****_ config.py
******_ <i>Тут хранится настройка приложения для работы</i>\n<i>Например загрузка переменных окружения</i>
*****_ db.py
******_ <i>Тут хранятся настройки интерфейсов работы с БД</i>\n<i>Например инициализация движка sqlalchemy</i>
****$app_entry(process)
*****$app_entry(api)
******_ <i>Тут лежат API endpoint'ы для приложения</i>\n<i>(aналог views в django)</i>
*****$app_entry(schemas)
******_ <i>Тут описываются модели приложения</i>\n<i>(аналог models в django)</i>
*****$app_entry(services)
******_ <i>Тут описываются бизнес логика приложения</i>
*****$app_entry(tests)
******_ <i>Тут хранятся тесты</i>
*****$app_entry(DTO)
******_ <i>Тут хранятся DTO объекты для данных,</i>\n<i>используемых в приложении</i>
*****$app_entry(routes)
******_ <i>Тут хранятся URL роутеры</i>\n<i>используемые в приложении</i>
****$app_entry(request)
*****_ <i>Формат содержимого аналогичен другим приложениям</i>\n<i>(На данный момент только process)</i>
**** router
*****_ routes.py
******_ <i>Файл, в котором агрегируются все</i>\n<i>роуты из всех приложений</i>
****_ main.py
*** doc
***_ Dockerfile
****_ <i>Используется для сборки backend приложения</i>
***_ poetry.lock
****_ <i>Используется в первую очередь для разработки</i>
***_ pyproject.toml
****_ <i>Используется в первую очередь для разработки</i>
**_ docker-compose.yml
---_ <i>Файл запуска приложения</i>
**_ .env
---_ <i>Файл окружения, который</i>\n<i>используется всеми компонентами приложения</i>
@endwbs

View file

@ -0,0 +1,132 @@
<mxfile host="Electron" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.17 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" version="24.7.17">
<diagram name="Page-1" id="D102nlsedoLYcsxv54MV">
<mxGraphModel dx="1795" dy="473" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="6MixKwhiBb0wiFJ191Fe-2" value="&lt;b&gt;Workflow&lt;/b&gt;" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#dae8fc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="10" y="200" width="170" height="182" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-30" value="+ id: int" style="text;strokeColor=#82b366;fillColor=#d5e8d4;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-2">
<mxGeometry y="26" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-3" value="+ name: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-2">
<mxGeometry y="52" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-4" value="+ created_at: datetime" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-2">
<mxGeometry y="78" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-5" value="+ workflow_type: enum" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-2">
<mxGeometry y="104" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-15" value="+ workflow_status: enum" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-2">
<mxGeometry y="130" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-22" value="+ description: text" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-2">
<mxGeometry y="156" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-7" value="&amp;lt;&amp;lt;enumeration&amp;gt;&amp;gt;&lt;br&gt;&lt;b&gt;WorkflowType&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;html=1;whiteSpace=wrap;" vertex="1" parent="1">
<mxGeometry x="-260" y="144" width="140" height="160" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-8" value="general" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-7">
<mxGeometry y="40" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-10" value="change_access" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-7">
<mxGeometry y="70" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-11" value="change_object" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-7">
<mxGeometry y="100" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-12" value="custom" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-7">
<mxGeometry y="130" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-14" value="" style="endArrow=open;endFill=1;endSize=12;html=1;rounded=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1" source="6MixKwhiBb0wiFJ191Fe-5" target="6MixKwhiBb0wiFJ191Fe-7">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="140" y="530" as="sourcePoint" />
<mxPoint x="300" y="530" as="targetPoint" />
<Array as="points">
<mxPoint x="-60" y="317" />
<mxPoint x="-60" y="240" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-16" value="&amp;lt;&amp;lt;enumeration&amp;gt;&amp;gt;&lt;br&gt;&lt;b&gt;WorkflowStatus&lt;/b&gt;" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;html=1;whiteSpace=wrap;" vertex="1" parent="1">
<mxGeometry x="-260" y="320" width="140" height="130" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-17" value="active" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-16">
<mxGeometry y="40" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-18" value="inactive" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-16">
<mxGeometry y="70" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-19" value="draft" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-16">
<mxGeometry y="100" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-21" value="" style="endArrow=open;endFill=1;endSize=12;html=1;rounded=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1" source="6MixKwhiBb0wiFJ191Fe-15" target="6MixKwhiBb0wiFJ191Fe-16">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="190" y="301" as="sourcePoint" />
<mxPoint x="295" y="301" as="targetPoint" />
<Array as="points">
<mxPoint x="-60" y="343" />
<mxPoint x="-60" y="385" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-23" value="&lt;b&gt;Step&lt;/b&gt;" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#dae8fc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="320" y="80" width="170" height="156" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-32" value="+ id: int" style="text;strokeColor=#82b366;fillColor=#d5e8d4;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-23">
<mxGeometry y="26" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-33" value="+ workflow_id: int" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-23">
<mxGeometry y="52" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-24" value="+ name: str" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-23">
<mxGeometry y="78" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-28" value="+ description: text" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-23">
<mxGeometry y="104" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-25" value="+ need_agreement: bool" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-23">
<mxGeometry y="130" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-31" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;startArrow=ERmandOne;rounded=0;endFill=0;" edge="1" parent="1" source="6MixKwhiBb0wiFJ191Fe-2" target="6MixKwhiBb0wiFJ191Fe-23">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="-80" y="600" as="sourcePoint" />
<mxPoint x="20" y="500" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-34" value="&lt;b&gt;Field&lt;/b&gt;" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#dae8fc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="320" y="400" width="170" height="78" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-35" value="+ id: int" style="text;strokeColor=#82b366;fillColor=#d5e8d4;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-34">
<mxGeometry y="26" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-36" value="+ workflow_id: int" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-34">
<mxGeometry y="52" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-40" value="&lt;b&gt;Responsibles&lt;/b&gt;" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#dae8fc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="320" y="556" width="170" height="78" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-41" value="+ id: int" style="text;strokeColor=#82b366;fillColor=#d5e8d4;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-40">
<mxGeometry y="26" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-42" value="+ workflow_id: int" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="6MixKwhiBb0wiFJ191Fe-40">
<mxGeometry y="52" width="170" height="26" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-43" value="В зависимости от того, какой тип выбран - где-то будет погрузка предустановленного шаблона, относящегося к этому типу" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#b1ddf0;strokeColor=#10739e;" vertex="1" parent="1">
<mxGeometry x="-610" y="198" width="250" height="62" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-44" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;dashPattern=8 8;" edge="1" parent="1" source="6MixKwhiBb0wiFJ191Fe-8" target="6MixKwhiBb0wiFJ191Fe-43">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;dashPattern=8 8;" edge="1" parent="1" source="6MixKwhiBb0wiFJ191Fe-10" target="6MixKwhiBb0wiFJ191Fe-43">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6MixKwhiBb0wiFJ191Fe-46" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;dashPattern=8 8;" edge="1" parent="1" source="6MixKwhiBb0wiFJ191Fe-11" target="6MixKwhiBb0wiFJ191Fe-43">
<mxGeometry relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View file

@ -24,5 +24,4 @@ package "Kupol request center" {
rc_kafka_consumer <-right[#red,thickness=2]- [kafka]
rc_kafka_producer -right[#red,thickness=2]-> [kafka]
@enduml