From d93b00484eea27f1ff853877012e6fc31f8d5004 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 4 Aug 2023 12:36:46 +0200 Subject: [PATCH] Docs(architecture): Add lua code execution to diagram --- docs/architecture.drawio | 842 +++++++++++---------------------------- docs/architecture.svg | 4 + 2 files changed, 234 insertions(+), 612 deletions(-) create mode 100644 docs/architecture.svg diff --git a/docs/architecture.drawio b/docs/architecture.drawio index 79154e8..037cd7b 100644 --- a/docs/architecture.drawio +++ b/docs/architecture.drawio @@ -1,23 +1,51 @@ - + - + - - + + + + + + + + + + + + + + + + + - - + + - + + + + + + + + + + + + + + @@ -25,25 +53,25 @@ - + - + - + - - + + @@ -51,20 +79,74 @@ - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -73,85 +155,117 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + + + - - - - + + - + - - + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -213,7 +327,7 @@ - + @@ -231,568 +345,72 @@ + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + + + + + + + - + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/docs/architecture.svg b/docs/architecture.svg new file mode 100644 index 0000000..b589fce --- /dev/null +++ b/docs/architecture.svg @@ -0,0 +1,4 @@ + + + +
Main Process
Main Process
Accounts (example)
Accounts (example)
Account 1 (Matrix)
Account 1 (Matrix)
Account 2 (Matrix)
Account 2 (Matrix)
Account 3 (Signal)
Account 3 (Signal)
Account 4 (Telegram)
Account 4 (Telegram)
Event Stream
Event Stream
Current Account
Current Account
Chat  Action Stream
Chat  Action Str...
Key Input Sync
Thread
Key Input Sync...
Main Loop
Thread
Main Loop...
Draw UI
Draw UI
Await Event
Await Event
Handle Event
Handle Event
Commands
Commands
Code executor
Code executor
Commands
Commands
Lua
Lua
Trinitrix - Architecture - v2.0
Trinitri...
Protocol Servers
Protocol Servers
Matrix Server
Process
Matrix Server...
Matrix Server
Process
Matrix Server...
Signal Server
Process
Signal Server...
Telegram Server
Process
Telegram Server...
Color Legend
Thread / Process
Thread / Process
Write
Write
Read
Read
Execution Flow
Execution Flow
Struct / Vector
Struct / Vector
Logical Container
Logical Container
API
(Bidirectional IPC)
API...
Stream
Stream
Status
Status
Text is not SVG - cannot display
\ No newline at end of file