# medinooos/task-manager architecture

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

- Interactive diagram: https://gitdiagram.com/medinooos/task-manager
- Repository: https://github.com/medinooos/task-manager

## Overview

A small interactive task-list program: the user chooses add, list, complete, or exit; the menu dispatches task operations, and the manager persists tasks in tasks.txt. All runtime logic is in main.cpp.

Main entry points: [`main.cpp`](https://github.com/medinooos/task-manager/blob/main/main.cpp) (Interactive Menu)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_menu["Interactive Menu<br/>[main.cpp]"]
node_manager["Task Manager<br/>[main.cpp]"]
node_task_file[("Task File<br/>[main.cpp]")]

node_user -->|"chooses actions"| node_menu
node_menu -->|"dispatches tasks"| node_manager
node_manager -->|"loads and saves"| node_task_file

click node_menu "https://github.com/medinooos/task-manager/blob/main/main.cpp"
click node_manager "https://github.com/medinooos/task-manager/blob/main/main.cpp"
click node_task_file "https://github.com/medinooos/task-manager/blob/main/main.cpp"

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_user toneBlue
class node_menu toneTeal
class node_manager toneRose
class node_task_file toneAmber
```

## Components

### Other components

- **User**
- [Interactive Menu](https://github.com/medinooos/task-manager/blob/main/main.cpp): `main.cpp`
- [Task Manager](https://github.com/medinooos/task-manager/blob/main/main.cpp): `main.cpp`
- [Task File](https://github.com/medinooos/task-manager/blob/main/main.cpp): `main.cpp`

## Connections

- User → Interactive Menu: chooses actions (evidence: `main.cpp`)
- Interactive Menu → Task Manager: dispatches tasks (evidence: `main.cpp`)
- Task Manager → Task File: loads and saves (evidence: `main.cpp`)
