# aaungdev/student-management-system architecture

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

- Interactive diagram: https://gitdiagram.com/aaungdev/student-management-system
- Repository: https://github.com/aaungdev/student-management-system

## Overview

This is a console-based student-record manager. The user chooses an operation from the menu, which dispatches to record insertion, viewing, search, deletion, update, sorting, or statistics; these operations use a shared in-memory student array. The README documents the same capabilities. The implementation is contained in one source file, so all code components point to it; no persistent storage or external service is shown.

Main entry points: [`project01.cpp`](https://github.com/aaungdev/student-management-system/blob/main/project01.cpp) (Menu Loop)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Console Interface"]
  node_menu["Menu Loop<br/>[project01.cpp]"]
end

subgraph group_records["Student Records"]
  node_student_store[("Student Array<br/>[project01.cpp]")]
  node_insert["Insert Record<br/>[project01.cpp]"]
  node_view["View Records<br/>[project01.cpp]"]
  node_search_id["Search by ID<br/>[project01.cpp]"]
  node_search_name["Search by Name<br/>[project01.cpp]"]
  node_delete["Delete Record<br/>[project01.cpp]"]
  node_update["Update Record<br/>[project01.cpp]"]
end

subgraph group_analysis["Sorting and Statistics"]
  node_sort["Sort by Name<br/>[project01.cpp]"]
  node_statistics["Display Statistics<br/>[project01.cpp]"]
end

node_user(("User"))

node_user -->|"chooses operation"| node_menu
node_menu -->|"dispatches"| node_insert
node_menu -->|"dispatches"| node_view
node_menu -->|"dispatches"| node_search_id
node_menu -->|"dispatches"| node_search_name
node_menu -->|"dispatches"| node_delete
node_menu -->|"dispatches"| node_update
node_menu -->|"dispatches"| node_sort
node_menu -->|"dispatches"| node_statistics
node_insert -->|"writes"| node_student_store
node_view -->|"reads"| node_student_store
node_search_id -->|"searches"| node_student_store
node_search_name -->|"searches"| node_student_store
node_delete -->|"deletes from"| node_student_store
node_update -->|"updates"| node_student_store
node_sort -->|"reorders"| node_student_store
node_statistics -->|"reads"| node_student_store

click node_menu "https://github.com/aaungdev/student-management-system/blob/main/project01.cpp"
click node_student_store "https://github.com/aaungdev/student-management-system/blob/main/project01.cpp"
click node_insert "https://github.com/aaungdev/student-management-system/blob/main/project01.cpp"
click node_view "https://github.com/aaungdev/student-management-system/blob/main/project01.cpp"
click node_search_id "https://github.com/aaungdev/student-management-system/blob/main/project01.cpp"
click node_search_name "https://github.com/aaungdev/student-management-system/blob/main/project01.cpp"
click node_delete "https://github.com/aaungdev/student-management-system/blob/main/project01.cpp"
click node_update "https://github.com/aaungdev/student-management-system/blob/main/project01.cpp"
click node_sort "https://github.com/aaungdev/student-management-system/blob/main/project01.cpp"
click node_statistics "https://github.com/aaungdev/student-management-system/blob/main/project01.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_menu,node_user toneBlue
class node_student_store,node_insert,node_view,node_search_id,node_search_name,node_delete,node_update toneAmber
class node_sort,node_statistics toneMint
```

## Components

### Console Interface

- [Menu Loop](https://github.com/aaungdev/student-management-system/blob/main/project01.cpp): `project01.cpp`

### Student Records

- [Student Array](https://github.com/aaungdev/student-management-system/blob/main/project01.cpp): `project01.cpp`
- [Insert Record](https://github.com/aaungdev/student-management-system/blob/main/project01.cpp): `project01.cpp`
- [View Records](https://github.com/aaungdev/student-management-system/blob/main/project01.cpp): `project01.cpp`
- [Search by ID](https://github.com/aaungdev/student-management-system/blob/main/project01.cpp): `project01.cpp`
- [Search by Name](https://github.com/aaungdev/student-management-system/blob/main/project01.cpp): `project01.cpp`
- [Delete Record](https://github.com/aaungdev/student-management-system/blob/main/project01.cpp): `project01.cpp`
- [Update Record](https://github.com/aaungdev/student-management-system/blob/main/project01.cpp): `project01.cpp`

### Sorting and Statistics

- [Sort by Name](https://github.com/aaungdev/student-management-system/blob/main/project01.cpp): `project01.cpp`
- [Display Statistics](https://github.com/aaungdev/student-management-system/blob/main/project01.cpp): `project01.cpp`

### Other components

- **User**

## Connections

- User → Menu Loop: chooses operation (evidence: `project01.cpp`)
- Menu Loop → Insert Record: dispatches (evidence: `project01.cpp`)
- Menu Loop → View Records: dispatches (evidence: `project01.cpp`)
- Menu Loop → Search by ID: dispatches (evidence: `project01.cpp`)
- Menu Loop → Search by Name: dispatches (evidence: `project01.cpp`)
- Menu Loop → Delete Record: dispatches (evidence: `project01.cpp`)
- Menu Loop → Update Record: dispatches (evidence: `project01.cpp`)
- Menu Loop → Sort by Name: dispatches (evidence: `project01.cpp`)
- Menu Loop → Display Statistics: dispatches (evidence: `project01.cpp`)
- Insert Record → Student Array: writes (evidence: `project01.cpp`)
- View Records → Student Array: reads (evidence: `project01.cpp`)
- Search by ID → Student Array: searches (evidence: `project01.cpp`)
- Search by Name → Student Array: searches (evidence: `project01.cpp`)
- Delete Record → Student Array: deletes from (evidence: `project01.cpp`)
- Update Record → Student Array: updates (evidence: `project01.cpp`)
- Sort by Name → Student Array: reorders (evidence: `project01.cpp`)
- Display Statistics → Student Array: reads (evidence: `project01.cpp`)
