# ywsfshbanyd85-crypto/grand-hospital architecture

> Architecture diagram of the GitHub repository ywsfshbanyd85-crypto/grand-hospital, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ywsfshbanyd85-crypto/grand-hospital
- Repository: https://github.com/ywsfshbanyd85-crypto/grand-hospital

## Overview

This is a Flutter hospital-themed app, but the README describes only a starter project and the Dart sources were not excerpted. The screen filenames suggest splash, welcome, account, home, specialty, and doctor-list UI, but do not establish how users navigate among them or what results those screens produce. The graph therefore preserves the visible app modules and sampled desktop launch/window layers without inventing a user-flow pipeline; no backend or persistent data store is evidenced.

Main entry points: [`windows/runner/flutter_window.h`](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/windows/runner/flutter_window.h) (Flutter window host), [`windows/runner/main.cpp`](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/windows/runner/main.cpp) (Windows launcher), [`linux/runner/main.cc`](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/linux/runner/main.cc) (Linux launcher), [`windows/runner/win32_window.cpp`](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/windows/runner/win32_window.cpp) (Win32 window)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Flutter app"]
  node_entry["Dart entry<br/>[main.dart]"]
  node_splash["Splash screen<br/>[splash_screen.dart]"]
  node_welcome["Welcome screen"]
  node_login["Login screen<br/>[login_page.dart]"]
  node_account["Account creation"]
  node_home["Home screen<br/>[home_screen.dart]"]
  node_specialties["Medical specialties"]
  node_doctors1["Doctor list 1"]
  node_doctors2["Doctor list 2"]
  node_doctors3["Doctor list 3"]
  node_doctors4["Doctor list 4"]
  node_doctors5["Doctor list 5"]
  node_doctors6["Doctor list 6"]
  node_colors["Color definitions<br/>[color.dart]"]
end

subgraph group_windows["Windows host"]
  node_winmain["Windows launcher<br/>[main.cpp]"]
  node_flutterwindow["Flutter window host<br/>[flutter_window.h]"]
  node_winwindow["Win32 window<br/>[win32_window.cpp]"]
  node_winplugins["Windows plugin registry"]
end

subgraph group_linux["Linux host"]
  node_linuxmain["Linux launcher<br/>[main.cc]"]
  node_linuxapp["Linux application<br/>[my_application.h]"]
  node_linuxplugins["Linux plugin registry"]
end

node_user(("App user"))

node_winmain -->|"creates host"| node_flutterwindow
node_flutterwindow -->|"inherits window"| node_winwindow
node_linuxmain -->|"starts application"| node_linuxapp

click node_entry "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/main.dart"
click node_splash "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/splash_screen.dart"
click node_welcome "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/welcome_started.dart"
click node_login "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/login_page.dart"
click node_account "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/create_account.dart"
click node_home "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/home_screen.dart"
click node_specialties "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/medical_specialties.dart"
click node_doctors1 "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/doctors_list_1.dart"
click node_doctors2 "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/doctors_list_2.dart"
click node_doctors3 "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/doctors_list_3.dart"
click node_doctors4 "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/doctors_list_4.dart"
click node_doctors5 "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/doctors_list_5.dart"
click node_doctors6 "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/doctors_list_6.dart"
click node_colors "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/color.dart"
click node_winmain "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/windows/runner/main.cpp"
click node_flutterwindow "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/windows/runner/flutter_window.h"
click node_winwindow "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/windows/runner/win32_window.cpp"
click node_linuxmain "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/linux/runner/main.cc"
click node_linuxapp "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/linux/runner/my_application.h"
click node_linuxplugins "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/linux/flutter/generated_plugin_registrant.h"
click node_winplugins "https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/windows/flutter/generated_plugin_registrant.h"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_splash,node_welcome,node_login,node_account,node_home,node_specialties,node_doctors1,node_doctors2,node_doctors3,node_doctors4,node_doctors5,node_doctors6,node_colors,node_user toneBlue
class node_winmain,node_flutterwindow,node_winwindow,node_winplugins toneAmber
class node_linuxmain,node_linuxapp,node_linuxplugins toneMint
```

## Components

### Flutter app

- [Dart entry](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/main.dart): `lib/main.dart`
- [Splash screen](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/splash_screen.dart): `lib/modules/screens/splash_screen.dart`
- [Welcome screen](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/welcome_started.dart): `lib/modules/screens/welcome_started.dart`
- [Login screen](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/login_page.dart): `lib/modules/screens/login_page.dart`
- [Account creation](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/create_account.dart): `lib/modules/screens/create_account.dart`
- [Home screen](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/home_screen.dart): `lib/modules/screens/home_screen.dart`
- [Medical specialties](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/medical_specialties.dart): `lib/modules/screens/medical_specialties.dart`
- [Doctor list 1](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/doctors_list_1.dart): `lib/modules/screens/doctors_list_1.dart`
- [Doctor list 2](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/doctors_list_2.dart): `lib/modules/screens/doctors_list_2.dart`
- [Doctor list 3](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/doctors_list_3.dart): `lib/modules/screens/doctors_list_3.dart`
- [Doctor list 4](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/doctors_list_4.dart): `lib/modules/screens/doctors_list_4.dart`
- [Doctor list 5](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/doctors_list_5.dart): `lib/modules/screens/doctors_list_5.dart`
- [Doctor list 6](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/screens/doctors_list_6.dart): `lib/modules/screens/doctors_list_6.dart`
- [Color definitions](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/lib/modules/color.dart): `lib/modules/color.dart`

### Windows host

- [Windows launcher](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Flutter window host](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/windows/runner/flutter_window.h): `windows/runner/flutter_window.h`
- [Win32 window](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/windows/runner/win32_window.cpp): `windows/runner/win32_window.cpp`
- [Windows plugin registry](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/windows/flutter/generated_plugin_registrant.h): `windows/flutter/generated_plugin_registrant.h`

### Linux host

- [Linux launcher](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [Linux application](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/linux/runner/my_application.h): `linux/runner/my_application.h`
- [Linux plugin registry](https://github.com/ywsfshbanyd85-crypto/grand-hospital/blob/main/linux/flutter/generated_plugin_registrant.h): `linux/flutter/generated_plugin_registrant.h`

### Other components

- **App user**

## Connections

- Windows launcher → Flutter window host: creates host (evidence: `windows/runner/main.cpp`)
- Flutter window host → Win32 window: inherits window (evidence: `windows/runner/flutter_window.h`)
- Linux launcher → Linux application: starts application (evidence: `linux/runner/main.cc`)
