# nidhijainjod/student-performance-insights-system architecture

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

- Interactive diagram: https://gitdiagram.com/nidhijainjod/student-performance-insights-system
- Repository: https://github.com/nidhijainjod/student-performance-insights-system

## Overview

This is a Tkinter student-performance management application backed by MySQL. An administrator uses the dashboard to enter or browse academic records, view ranked analysis and charts, and export CSV or summary reports. Student entry, dashboard summaries, and analysis read or write through database connections; charts and exports reuse the analysis module’s results. The dashboard also opens login on logout. Login and student browsing are represented from dashboard references, but their internal behavior was not sampled; the README is empty.

Main entry points: [`dashboard.py`](https://github.com/nidhijainjod/student-performance-insights-system/blob/main/dashboard.py) (Dashboard), [`export_reports.py`](https://github.com/nidhijainjod/student-performance-insights-system/blob/main/export_reports.py) (Report Export), [`database.py`](https://github.com/nidhijainjod/student-performance-insights-system/blob/main/database.py) (Database Access), [`analysis.py`](https://github.com/nidhijainjod/student-performance-insights-system/blob/main/analysis.py) (Performance Analysis)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["Application UI"]
  node_dashboard["Dashboard<br/>[dashboard.py]"]
  node_login["Login<br/>[login.py]"]
end

subgraph group_records["Student Records"]
  node_entry["Record Entry<br/>[student.py]"]
  node_browse["Student Browsing<br/>[view_student.py]"]
  node_database_access["Database Access<br/>[database.py]"]
  node_mysql[("MySQL Database")]
end

subgraph group_insights["Performance Insights"]
  node_analysis["Performance Analysis<br/>[analysis.py]"]
  node_charts["Performance Charts<br/>[charts.py]"]
end

subgraph group_outputs["Report Outputs"]
  node_export["Report Export<br/>[export_reports.py]"]
  node_csv_file["CSV File"]
  node_text_report["Text Report"]
end

node_administrator(("Administrator"))

node_administrator -.->|"uses"| node_dashboard
node_dashboard -->|"opens"| node_entry
node_dashboard -->|"opens"| node_browse
node_dashboard -->|"opens"| node_analysis
node_dashboard -->|"opens"| node_charts
node_dashboard -->|"opens"| node_export
node_dashboard -->|"opens on logout"| node_login
node_dashboard -->|"connects for summaries"| node_database_access
node_entry -->|"connects to save"| node_database_access
node_analysis -->|"connects to read"| node_database_access
node_database_access -->|"connects to"| node_mysql
node_charts -->|"loads results from"| node_analysis
node_export -->|"loads results from"| node_analysis
node_export -->|"writes CSV"| node_csv_file
node_export -->|"writes report"| node_text_report

click node_dashboard "https://github.com/nidhijainjod/student-performance-insights-system/blob/main/dashboard.py"
click node_login "https://github.com/nidhijainjod/student-performance-insights-system/blob/main/login.py"
click node_entry "https://github.com/nidhijainjod/student-performance-insights-system/blob/main/student.py"
click node_browse "https://github.com/nidhijainjod/student-performance-insights-system/blob/main/view_student.py"
click node_database_access "https://github.com/nidhijainjod/student-performance-insights-system/blob/main/database.py"
click node_analysis "https://github.com/nidhijainjod/student-performance-insights-system/blob/main/analysis.py"
click node_charts "https://github.com/nidhijainjod/student-performance-insights-system/blob/main/charts.py"
click node_export "https://github.com/nidhijainjod/student-performance-insights-system/blob/main/export_reports.py"

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_dashboard,node_login toneBlue
class node_entry,node_browse,node_database_access,node_mysql toneAmber
class node_analysis,node_charts toneMint
class node_export,node_csv_file,node_text_report toneRose
class node_administrator toneIndigo
```

## Components

### Application UI

- [Dashboard](https://github.com/nidhijainjod/student-performance-insights-system/blob/main/dashboard.py): `dashboard.py`
- [Login](https://github.com/nidhijainjod/student-performance-insights-system/blob/main/login.py): `login.py`

### Student Records

- [Record Entry](https://github.com/nidhijainjod/student-performance-insights-system/blob/main/student.py): `student.py`
- [Student Browsing](https://github.com/nidhijainjod/student-performance-insights-system/blob/main/view_student.py): `view_student.py`
- [Database Access](https://github.com/nidhijainjod/student-performance-insights-system/blob/main/database.py): `database.py`
- **MySQL Database**

### Performance Insights

- [Performance Analysis](https://github.com/nidhijainjod/student-performance-insights-system/blob/main/analysis.py): `analysis.py`
- [Performance Charts](https://github.com/nidhijainjod/student-performance-insights-system/blob/main/charts.py): `charts.py`

### Report Outputs

- [Report Export](https://github.com/nidhijainjod/student-performance-insights-system/blob/main/export_reports.py): `export_reports.py`
- **CSV File**
- **Text Report**

### Other components

- **Administrator**

## Connections

- Administrator → Dashboard: uses
- Dashboard → Record Entry: opens (evidence: `dashboard.py`)
- Dashboard → Student Browsing: opens (evidence: `dashboard.py`)
- Dashboard → Performance Analysis: opens (evidence: `dashboard.py`)
- Dashboard → Performance Charts: opens (evidence: `dashboard.py`)
- Dashboard → Report Export: opens (evidence: `dashboard.py`)
- Dashboard → Login: opens on logout (evidence: `dashboard.py`)
- Dashboard → Database Access: connects for summaries (evidence: `dashboard.py`)
- Record Entry → Database Access: connects to save (evidence: `student.py`)
- Performance Analysis → Database Access: connects to read (evidence: `analysis.py`)
- Database Access → MySQL Database: connects to (evidence: `database.py`)
- Performance Charts → Performance Analysis: loads results from (evidence: `charts.py`)
- Report Export → Performance Analysis: loads results from (evidence: `export_reports.py`)
- Report Export → CSV File: writes CSV (evidence: `export_reports.py`)
- Report Export → Text Report: writes report (evidence: `export_reports.py`)
