# webcyou-org/todo-gui architecture

> Architecture diagram of the GitHub repository webcyou-org/todo-gui, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-03-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/webcyou-org/todo-gui
- Repository: https://github.com/webcyou-org/todo-gui

## Overview

##### Main Components
- Top-Level “ToDo GUI” application node.
- Branch out into different language/framework groups as major sub-components. For example:
– C# implementations (with subnodes for Avalonia, MAUI, and Uno Platform)
– C++ implementations (with subnodes for QT, wxWidgets, GTKmm, FLTK, NanoGUI, etc.)
– Dart implementation (Flutter)
– Python implementations (Flet, Kivy, PyForms, PyGTK, TkEasyGUI, Toga, PyQt, remi, reflex, wxPython, etc.)
– JavaScript implementations (Electron, Tauri, Neutralinojs, NW.js, ProtonNative, React Native, etc.)
– Go implementations (Fyne, Lorca, Wails, Gio, Go-GTK, shiny, etc.)
– Rust implementations (Druid, Slint, Iced, Dioxus, gtk-rs, egui, fltk-rs, Relm4, rui, vizia, etc.)

##### Relationships and Interactions
- Demonstrate that all branches follow a similar architectural style such as the MVC/MV* pattern. You might show:
- That while the implementation details may differ per framework, they all share similar data flow:
– The ToDo Model holds a list of tasks.
– The UI components (such as the ToDo input, task list, and tab menu) interact with these models.

##### Architectural Patterns and Design Principles
- Separation of “platform / framework-specific” layers from the core business logic. Although each branch may use different toolkits or UI rendering paradigms, they adhere to similar design principles.

##### Relevant Technologies and Their Roles
- For each branch, list the specific frameworks:
- C# branch: mention Avalonia, MAUI, Uno Platform.
- C++ branch: list QT, wxWidgets, GTKmm, FLTK, NanoGUI.
- Dart branch: Flutter.
- Python branch: list all available GUI options (e.g., Flet, Kivy, etc.).
- JavaScript branch: list Electron, Tauri, NW.js, etc.
- Go branch: mention Fyne, Lorca, Wails.
- Rust branch: list Druid, Slint, Iced, etc.
- Optionally, include a note on common artifacts such as project files, build configuration files, and assets (like design/ToDoAPP.fig).

##### Elements
- From the UI (input fields, task lists) to the business logic (models/controllers).
- From business logic back to the View layer (UI updates).

## Diagram (Mermaid)

```mermaid
flowchart TD
    A["ToDo GUI Application"]:::application

    subgraph "Shared Core"
        Core["ToDo GUI Core"]:::core
        Design["Design/Styles"]:::design
        subgraph "Core Architecture"
            Todo["Todo"]:::coreClass
            Model["TodoModel"]:::coreClass
            Tab["TabMenu"]:::coreClass
            Menu["MenuModel"]:::coreClass
        end
        Core -->|"shares_UI_logic"| Todo
        Core -->|"shares_UI_logic"| Design
        Todo -->|"manages"| Model
        Tab -->|"paired_with"| Menu
    end

    subgraph "Peripheral Implementations"
        subgraph "C#"
            Avalonia["Avalonia"]:::framework
            MAUI["MAUI"]:::framework
            Uno["Uno Platform"]:::framework
        end
        subgraph "C++"
            QT["QT"]:::framework
            wx["wxWidgets"]:::framework
            GTKmm["GTKmm"]:::framework
            FLTK["FLTK"]:::framework
            NanoGUI["NanoGUI"]:::framework
        end
        subgraph "Dart"
            Flutter["Flutter"]:::framework
        end
        subgraph "Python"
            Flet["Flet"]:::framework
            Kivy["Kivy"]:::framework
            PyForms["PyForms"]:::framework
            PyGTK["PyGTK"]:::framework
            TkEasyGUI["TkEasyGUI"]:::framework
            Toga["Toga"]:::framework
            pyqt["pyqt"]:::framework
            remi["remi"]:::framework
            reflex["reflex"]:::framework
            tkinter["tkinter"]:::framework
            wxPython["wxPython"]:::framework
        end
        subgraph "JavaScript"
            Electron["Electron (VanillaJS)"]:::framework
            NWjs["NW.js"]:::framework
            Neutralinojs["Neutralinojs"]:::framework
            ProtonNative["ProtonNative"]:::framework
            ReactNative["React Native"]:::framework
            Tauri["Tauri"]:::framework
        end
        subgraph "Go"
            Fyne_GO["Fyne"]:::framework
            Gio["Gio"]:::framework
            GoGTK["Go-GTK"]:::framework
            Lorca["Lorca"]:::framework
            Wails["Wails"]:::framework
            Walk["Walk"]:::framework
            shiny["shiny"]:::framework
        end
        subgraph "Rust"
            Dioxus["Dioxus"]:::framework
            Druid["Druid"]:::framework
            Iced["Iced"]:::framework
            Relm4["Relm4"]:::framework
            Slint["Slint"]:::framework
            egui["egui"]:::framework
            fltk_rs["fltk-rs"]:::framework
            gtk_rs["gtk-rs"]:::framework
            rui["rui"]:::framework
            vizia["vizia"]:::framework
        end
    end

    %% Connections from Shared Core to Peripheral Implementations (illustrating common pattern)
    Core -->|"implements_pattern"| Avalonia
    Core -->|"implements_pattern"| QT
    Core -->|"implements_pattern"| Flutter
    Core -->|"implements_pattern"| Flet
    Core -->|"implements_pattern"| Electron
    Core -->|"implements_pattern"| Fyne_GO
    Core -->|"implements_pattern"| Dioxus

    %% Styles
    classDef application fill:#AED6F1,stroke:#1F618D,stroke-width:2px;
    classDef core fill:#F9E79F,stroke:#B9770E,stroke-width:2px;
    classDef design fill:#D2B4DE,stroke:#6C3483,stroke-width:2px;
    classDef coreClass fill:#FAD7A0,stroke:#CA6F1E,stroke-width:2px;
    classDef framework fill:#D5F5E3,stroke:#27AE60,stroke-width:2px;

    %% Click Events
    click Core "https://github.com/webcyou-org/todo-gui/blob/main/design/ToDoAPP.fig"
    click Avalonia "https://github.com/webcyou-org/todo-gui/tree/main/C#/Avalonia/ToDo"
    click MAUI "https://github.com/webcyou-org/todo-gui/tree/main/C#/MAUI/ToDo/ToDo"
    click Uno "https://github.com/webcyou-org/todo-gui/tree/main/C#/UnoPlatform/ToDo/ToDo"
    click QT "https://github.com/webcyou-org/todo-gui/tree/main/C++/QT"
    click wx "https://github.com/webcyou-org/todo-gui/tree/main/C++/wxWidgets"
    click GTKmm "https://github.com/webcyou-org/todo-gui/tree/main/C++/GTKmm"
    click FLTK "https://github.com/webcyou-org/todo-gui/tree/main/C++/FLTK"
    click NanoGUI "https://github.com/webcyou-org/todo-gui/tree/main/C++/NanoGUI"
    click Flutter "https://github.com/webcyou-org/todo-gui/tree/main/Dart/Flutter/todo"
    click Flet "https://github.com/webcyou-org/todo-gui/tree/main/Python/Flet"
    click Kivy "https://github.com/webcyou-org/todo-gui/tree/main/Python/Kivy"
    click PyForms "https://github.com/webcyou-org/todo-gui/tree/main/Python/PyForms"
    click PyGTK "https://github.com/webcyou-org/todo-gui/tree/main/Python/PyGTK"
    click TkEasyGUI "https://github.com/webcyou-org/todo-gui/tree/main/Python/TkEasyGUI"
    click Toga "https://github.com/webcyou-org/todo-gui/tree/main/Python/Toga"
    click pyqt "https://github.com/webcyou-org/todo-gui/tree/main/Python/pyqt"
    click remi "https://github.com/webcyou-org/todo-gui/tree/main/Python/remi"
    click reflex "https://github.com/webcyou-org/todo-gui/tree/main/Python/reflex/todo"
    click tkinter "https://github.com/webcyou-org/todo-gui/tree/main/Python/tkinter"
    click wxPython "https://github.com/webcyou-org/todo-gui/tree/main/Python/wxPython"
    click Electron "https://github.com/webcyou-org/todo-gui/tree/main/JavaScript/Electron/VanillaJS/todo"
    click NWjs "https://github.com/webcyou-org/todo-gui/tree/main/JavaScript/NWjs"
    click Neutralinojs "https://github.com/webcyou-org/todo-gui/tree/main/JavaScript/Neutralinojs/todo"
    click ProtonNative "https://github.com/webcyou-org/todo-gui/tree/main/JavaScript/ProtonNative/todo"
    click ReactNative "https://github.com/webcyou-org/todo-gui/tree/main/JavaScript/ReactNative/todo"
    click Tauri "https://github.com/webcyou-org/todo-gui/tree/main/JavaScript/tauri/vite/todo-gui"
    click Fyne_GO "https://github.com/webcyou-org/todo-gui/tree/main/Go/Fyne"
    click Gio "https://github.com/webcyou-org/todo-gui/tree/main/Go/Gio"
    click GoGTK "https://github.com/webcyou-org/todo-gui/tree/main/Go/Go-GTK"
    click Lorca "https://github.com/webcyou-org/todo-gui/tree/main/Go/Lorca"
    click Wails "https://github.com/webcyou-org/todo-gui/tree/main/Go/Wails/todo"
    click Walk "https://github.com/webcyou-org/todo-gui/tree/main/Go/Walk"
    click shiny "https://github.com/webcyou-org/todo-gui/tree/main/Go/shiny"
    click Dioxus "https://github.com/webcyou-org/todo-gui/tree/main/Rust/Dioxus/todo"
    click Druid "https://github.com/webcyou-org/todo-gui/tree/main/Rust/Druid/todo"
    click Iced "https://github.com/webcyou-org/todo-gui/tree/main/Rust/Iced/todo"
    click Relm4 "https://github.com/webcyou-org/todo-gui/tree/main/Rust/Relm4/todo"
    click Slint "https://github.com/webcyou-org/todo-gui/tree/main/Rust/Slint/todo"
    click egui "https://github.com/webcyou-org/todo-gui/tree/main/Rust/egui"
    click fltk_rs "https://github.com/webcyou-org/todo-gui/tree/main/Rust/fltk-rs/todo"
    click gtk_rs "https://github.com/webcyou-org/todo-gui/tree/main/Rust/gtk-rs/todo"
    click rui "https://github.com/webcyou-org/todo-gui/tree/main/Rust/rui/todo"
    click vizia "https://github.com/webcyou-org/todo-gui/tree/main/Rust/vizia/todo"
```
