# giridharprabhu02/studentmanagement architecture

> Architecture diagram of the GitHub repository giridharprabhu02/studentmanagement, 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/giridharprabhu02/studentmanagement
- Repository: https://github.com/giridharprabhu02/studentmanagement

## Overview

This is a single-file, console-based C student manager. The workflow starts at the menu, dispatches add/view/search/update/delete actions, and operates on a dynamically allocated in-memory array of up to 100 student records; no persistence layer exists. The source combines UI, dispatch, and operations, so the graph separates these responsibilities while pointing to their shared implementation file. The README documents the features, and the excerpt shows the menu dispatch and operation calls.

Main entry points: [`StudentManagement.c`](https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c) (Action dispatch)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interaction["Console interaction"]
  node_menu["Menu input"]
  node_dispatcher["Action dispatch"]
end

subgraph group_records["Student records"]
  node_add["Add student"]
  node_view["View students"]
  node_search["Search student"]
  node_update["Update student"]
  node_delete["Delete student"]
  node_memory[("Student array")]
end

node_user(("Console user"))

node_user -->|"selects action"| node_menu
node_menu -->|"returns choice"| node_dispatcher
node_dispatcher -->|"dispatches"| node_add
node_dispatcher -->|"dispatches"| node_view
node_dispatcher -->|"dispatches"| node_search
node_dispatcher -->|"dispatches"| node_update
node_dispatcher -->|"dispatches"| node_delete
node_add -->|"writes records"| node_memory
node_view -->|"reads records"| node_memory
node_search -->|"searches records"| node_memory
node_update -->|"calls"| node_search
node_update -->|"updates record"| node_memory
node_delete -->|"removes record"| node_memory

click node_menu "https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c"
click node_dispatcher "https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c"
click node_add "https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c"
click node_view "https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c"
click node_search "https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c"
click node_update "https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c"
click node_delete "https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c"
click node_memory "https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c"

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_dispatcher,node_user toneBlue
class node_add,node_view,node_search,node_update,node_delete,node_memory toneAmber
```

## Components

### Console interaction

- [Menu input](https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c): `StudentManagement.c`
- [Action dispatch](https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c): `StudentManagement.c`

### Student records

- [Add student](https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c): `StudentManagement.c`
- [View students](https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c): `StudentManagement.c`
- [Search student](https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c): `StudentManagement.c`
- [Update student](https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c): `StudentManagement.c`
- [Delete student](https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c): `StudentManagement.c`
- [Student array](https://github.com/giridharprabhu02/studentmanagement/blob/master/StudentManagement.c): `StudentManagement.c`

### Other components

- **Console user**

## Connections

- Console user → Menu input: selects action (evidence: `StudentManagement.c`)
- Menu input → Action dispatch: returns choice (evidence: `StudentManagement.c`)
- Action dispatch → Add student: dispatches (evidence: `StudentManagement.c`)
- Action dispatch → View students: dispatches (evidence: `StudentManagement.c`)
- Action dispatch → Search student: dispatches (evidence: `StudentManagement.c`)
- Action dispatch → Update student: dispatches (evidence: `StudentManagement.c`)
- Action dispatch → Delete student: dispatches (evidence: `StudentManagement.c`)
- Add student → Student array: writes records (evidence: `StudentManagement.c`)
- View students → Student array: reads records (evidence: `StudentManagement.c`)
- Search student → Student array: searches records (evidence: `StudentManagement.c`)
- Update student → Search student: calls (evidence: `StudentManagement.c`)
- Update student → Student array: updates record (evidence: `StudentManagement.c`)
- Delete student → Student array: removes record (evidence: `StudentManagement.c`)
