# cmsc128-cccmt/genomix architecture

> Architecture diagram of the GitHub repository cmsc128-cccmt/genomix, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cmsc128-cccmt/genomix
- Repository: https://github.com/cmsc128-cccmt/genomix

## Overview

Genomix is a minimal Avalonia desktop-app scaffold, not yet a working domain product: the README names no capabilities, and the backend and scene/window features are mostly placeholders. Its implemented startup path configures Avalonia, constructs the backend and frontend, then asks the frontend to initialize the desktop lifetime. The frontend signals an initial TASKLIST scene, but its main-window construction is commented out, so it assigns a null window. The graph reflects only relationships visible in the sampled source; the XAML files were not inspected.

Main entry points: [`Frontend/Frontend.cs`](https://github.com/cmsc128-cccmt/genomix/blob/main/Frontend/Frontend.cs) (Frontend navigation), [`App.axaml.cs`](https://github.com/cmsc128-cccmt/genomix/blob/main/App.axaml.cs) (App composition), [`Program.cs`](https://github.com/cmsc128-cccmt/genomix/blob/main/Program.cs) (Program entry), [`Backend/Backend.cs`](https://github.com/cmsc128-cccmt/genomix/blob/main/Backend/Backend.cs) (Backend stub)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_startup["Application startup"]
  node_program["Program entry<br/>[Program.cs]"]
  node_app["App composition<br/>[App.axaml.cs]"]
end

subgraph group_application["App components"]
  node_backend["Backend stub<br/>[Backend.cs]"]
  node_frontend["Frontend navigation<br/>[Frontend.cs]"]
  node_navigation["Navigation contract<br/>[INavigation.cs]"]
  node_main_window["Main window"]
end

node_avalonia_runtime(("Avalonia runtime"))

node_avalonia_runtime -->|"starts"| node_program
node_program -->|"configures"| node_app
node_app -->|"constructs"| node_backend
node_app -->|"constructs"| node_frontend
node_frontend -->|"depends on"| node_backend
node_app -->|"starts presentation"| node_frontend
node_frontend -->|"implements"| node_navigation
node_frontend -->|"sets main window"| node_avalonia_runtime

click node_program "https://github.com/cmsc128-cccmt/genomix/blob/main/Program.cs"
click node_app "https://github.com/cmsc128-cccmt/genomix/blob/main/App.axaml.cs"
click node_backend "https://github.com/cmsc128-cccmt/genomix/blob/main/Backend/Backend.cs"
click node_frontend "https://github.com/cmsc128-cccmt/genomix/blob/main/Frontend/Frontend.cs"
click node_navigation "https://github.com/cmsc128-cccmt/genomix/blob/main/Frontend/INavigation.cs"
click node_main_window "https://github.com/cmsc128-cccmt/genomix/blob/main/MainWindow.axaml.cs"

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_program,node_app toneBlue
class node_backend,node_frontend,node_navigation,node_main_window toneAmber
class node_avalonia_runtime toneIndigo
```

## Components

### Application startup

- [Program entry](https://github.com/cmsc128-cccmt/genomix/blob/main/Program.cs): `Program.cs`
- [App composition](https://github.com/cmsc128-cccmt/genomix/blob/main/App.axaml.cs): `App.axaml.cs`

### App components

- [Backend stub](https://github.com/cmsc128-cccmt/genomix/blob/main/Backend/Backend.cs): `Backend/Backend.cs`
- [Frontend navigation](https://github.com/cmsc128-cccmt/genomix/blob/main/Frontend/Frontend.cs): `Frontend/Frontend.cs`
- [Navigation contract](https://github.com/cmsc128-cccmt/genomix/blob/main/Frontend/INavigation.cs): `Frontend/INavigation.cs`
- [Main window](https://github.com/cmsc128-cccmt/genomix/blob/main/MainWindow.axaml.cs): `MainWindow.axaml.cs`

### Other components

- **Avalonia runtime**

## Connections

- Avalonia runtime → Program entry: starts (evidence: `Program.cs`)
- Program entry → App composition: configures (evidence: `Program.cs`)
- App composition → Backend stub: constructs (evidence: `App.axaml.cs`)
- App composition → Frontend navigation: constructs (evidence: `App.axaml.cs`)
- Frontend navigation → Backend stub: depends on (evidence: `Frontend/Frontend.cs`)
- App composition → Frontend navigation: starts presentation (evidence: `App.axaml.cs`)
- Frontend navigation → Navigation contract: implements (evidence: `Frontend/Frontend.cs`)
- Frontend navigation → Avalonia runtime: sets main window (evidence: `Frontend/Frontend.cs`)
