# kevindeak06/workout_tracker_cpp architecture

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

- Interactive diagram: https://gitdiagram.com/kevindeak06/workout_tracker_cpp
- Repository: https://github.com/kevindeak06/workout_tracker_cpp

## Overview

A small console workout tracker: the user records workouts, reviews history, or deletes entries; workout data is held in memory and persisted to CSV. The README documents these responsibilities, but the C++ source was not excerpted, so relationships below rely on the README rather than inspected call sites.

Main entry points: [`workout_tracker_v2.cpp`](https://github.com/kevindeak06/workout_tracker_cpp/blob/main/workout_tracker_v2.cpp) (Console Tracker)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_tracker["Console Tracker"]
node_workout["Workout Record"]
node_collection["Workout Collection"]
node_csv[("CSV File")]

node_user -->|"uses"| node_tracker
node_tracker -->|"records"| node_workout
node_tracker -->|"manages"| node_collection
node_tracker -->|"loads and saves"| node_csv

click node_tracker "https://github.com/kevindeak06/workout_tracker_cpp/blob/main/workout_tracker_v2.cpp"
click node_workout "https://github.com/kevindeak06/workout_tracker_cpp/blob/main/workout_tracker_v2.cpp"
click node_collection "https://github.com/kevindeak06/workout_tracker_cpp/blob/main/workout_tracker_v2.cpp"
click node_csv "https://github.com/kevindeak06/workout_tracker_cpp/blob/main/workout_tracker_v2.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_tracker,node_workout,node_collection toneTeal
class node_csv toneAmber
```

## Components

### Other components

- **User**
- [Console Tracker](https://github.com/kevindeak06/workout_tracker_cpp/blob/main/workout_tracker_v2.cpp): `workout_tracker_v2.cpp`
- [Workout Record](https://github.com/kevindeak06/workout_tracker_cpp/blob/main/workout_tracker_v2.cpp): `workout_tracker_v2.cpp`
- [Workout Collection](https://github.com/kevindeak06/workout_tracker_cpp/blob/main/workout_tracker_v2.cpp): `workout_tracker_v2.cpp`
- [CSV File](https://github.com/kevindeak06/workout_tracker_cpp/blob/main/workout_tracker_v2.cpp): `workout_tracker_v2.cpp`

## Connections

- User → Console Tracker: uses (evidence: `README.md`)
- Console Tracker → Workout Record: records (evidence: `README.md`)
- Console Tracker → Workout Collection: manages (evidence: `README.md`)
- Console Tracker → CSV File: loads and saves (evidence: `README.md`)
