gateway/notes/produce_diagrams.md

48 lines
1.7 KiB
Markdown

MERMAID DIAGRAM:
can you make chart "wiki/diagramm_komponenten.mermaid". produce an component diagram, based on current code in poweron/*
if document existsadd missing components, remove obsolete components.
in box texts to use <br> instead of \n
for all subgraphs to to add path on a separate line to find the module in the code.
read all code modules caerfully to identify all components and their relations.
connectors without texts, only lines.
to add connector between frontend and backend (apiCalls.js -> app.py)
to connect app.py (Main application module) with the route*.py
to put all items of frontend into subgraph "Frontend"
to put all items of gateway into subgraph "Gateway"
to put following boxes to a dedicated subgraph within their existing subgraph:
- workflowManager.py, workflowAgentsRegistry.py, documentProcessor.py, --> "Workflow"
- mimeUtils.py, defAttributes.py, configuration.py, autho.py --> "Shared"
- agent*.py --> "Agents"
- workflow*.js --> "Workflow"
- all *.js in js/modules/ not starting with workflow* --> "Administration"
- formGeneric.js not to put to subgraph "Shared", but to a separated subgraph "Shared
to connect the main.js (main app in the frontend) to nativation.js, globalState.js, login.js, register.js, msftCall.js, config.js
to connect navigation.js to moduleLoader.js
to connect moduleLoader.js to workflow.js, and all *.js in js/modules/ not starting with workflow*
to connect all *.js in js/modules/ not starting with workflow* --> formGeneric.js
to connect fomrGeneric.js --> apiCalls.js
to use underscores (e.g. Backend_Python, Workflow_Modules, etc.) for all subgraph titles.
if adding legend, then to give same colors like references to legend