# limiajayi/nea architecture

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

- Interactive diagram: https://gitdiagram.com/limiajayi/nea
- Repository: https://github.com/limiajayi/nea

## Overview

Visualize Maths is a Django website for practicing A-level and Further Maths pure questions. Learners enter through the project’s URL configuration and reach home, student, or topic views; the available source index shows students’ views use student and home models and forms, while topic views reference student views. The README also documents weekly Plotly assessments, a CortexJS answer keyboard, and Desmos function visualisation. Those integrations are represented as documented capabilities; their detailed call paths are not shown in the sampled source.

Main entry points: [`VisualizeMaths/students/views.py`](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/views.py) (Student views), [`VisualizeMaths/VisualizeMaths/urls.py`](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/VisualizeMaths/urls.py) (URL routing), [`VisualizeMaths/home/views.py`](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/home/views.py) (Home views), [`VisualizeMaths/topics/views.py`](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/topics/views.py) (Topic views)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Web entry"]
  node_routing["URL routing<br/>[urls.py]"]
end

subgraph group_learning["Learning flows"]
  node_home["Home views<br/>[views.py]"]
  node_student["Student views<br/>[views.py]"]
  node_topic["Topic views<br/>[views.py]"]
end

subgraph group_domain["Learning data"]
  node_homeforms["Home forms<br/>[forms.py]"]
  node_studentforms["Student forms<br/>[forms.py]"]
  node_homemodels["Home models<br/>[models.py]"]
  node_studentmodels["Student models<br/>[models.py]"]
end

subgraph group_interactive["Interactive tools"]
  node_assessments["Weekly assessments<br/>[views.py]"]
  node_plotly["Plotly"]
  node_keyboard["Answer keyboard<br/>[views.py]"]
  node_cortex["CortexJS"]
  node_visualisation["Function visualisation<br/>[views.py]"]
  node_desmos["Desmos API"]
end

node_learner(("Learner"))

node_learner -.->|"requests pages"| node_routing
node_routing -.->|"dispatches pages"| node_home
node_routing -.->|"dispatches pages"| node_student
node_routing -.->|"dispatches pages"| node_topic
node_student -->|"uses forms"| node_studentforms
node_student -->|"uses models"| node_studentmodels
node_student -->|"uses models"| node_homemodels
node_home -->|"uses forms"| node_homeforms
node_home -->|"uses models"| node_homemodels
node_topic -->|"references views"| node_student
node_student -->|"provides"| node_assessments
node_assessments -->|"uses"| node_plotly
node_student -->|"provides"| node_keyboard
node_keyboard -->|"uses"| node_cortex
node_student -->|"provides"| node_visualisation
node_visualisation -->|"uses"| node_desmos

click node_routing "https://github.com/limiajayi/nea/blob/main/VisualizeMaths/VisualizeMaths/urls.py"
click node_home "https://github.com/limiajayi/nea/blob/main/VisualizeMaths/home/views.py"
click node_student "https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/views.py"
click node_topic "https://github.com/limiajayi/nea/blob/main/VisualizeMaths/topics/views.py"
click node_homeforms "https://github.com/limiajayi/nea/blob/main/VisualizeMaths/home/forms.py"
click node_studentforms "https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/forms.py"
click node_homemodels "https://github.com/limiajayi/nea/blob/main/VisualizeMaths/home/models.py"
click node_studentmodels "https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/models.py"
click node_assessments "https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/views.py"
click node_keyboard "https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/views.py"
click node_visualisation "https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/views.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_routing toneBlue
class node_home,node_student,node_topic toneAmber
class node_homeforms,node_studentforms,node_homemodels,node_studentmodels toneMint
class node_assessments,node_plotly,node_keyboard,node_cortex,node_visualisation,node_desmos toneRose
class node_learner toneIndigo
```

## Components

### Web entry

- [URL routing](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/VisualizeMaths/urls.py): `VisualizeMaths/VisualizeMaths/urls.py`

### Learning flows

- [Home views](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/home/views.py): `VisualizeMaths/home/views.py`
- [Student views](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/views.py): `VisualizeMaths/students/views.py`
- [Topic views](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/topics/views.py): `VisualizeMaths/topics/views.py`

### Learning data

- [Home forms](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/home/forms.py): `VisualizeMaths/home/forms.py`
- [Student forms](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/forms.py): `VisualizeMaths/students/forms.py`
- [Home models](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/home/models.py): `VisualizeMaths/home/models.py`
- [Student models](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/models.py): `VisualizeMaths/students/models.py`

### Interactive tools

- [Weekly assessments](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/views.py): `VisualizeMaths/students/views.py`
- **Plotly**
- [Answer keyboard](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/views.py): `VisualizeMaths/students/views.py`
- **CortexJS**
- [Function visualisation](https://github.com/limiajayi/nea/blob/main/VisualizeMaths/students/views.py): `VisualizeMaths/students/views.py`
- **Desmos API**

### Other components

- **Learner**

## Connections

- Learner → URL routing: requests pages
- URL routing → Home views: dispatches pages
- URL routing → Student views: dispatches pages
- URL routing → Topic views: dispatches pages
- Student views → Student forms: uses forms (evidence: `VisualizeMaths/students/views.py`)
- Student views → Student models: uses models (evidence: `VisualizeMaths/students/views.py`)
- Student views → Home models: uses models (evidence: `VisualizeMaths/students/views.py`)
- Home views → Home forms: uses forms (evidence: `VisualizeMaths/home/views.py`)
- Home views → Home models: uses models (evidence: `VisualizeMaths/home/views.py`)
- Topic views → Student views: references views (evidence: `VisualizeMaths/topics/views.py`)
- Student views → Weekly assessments: provides (evidence: `VisualizeMaths/students/views.py`)
- Weekly assessments → Plotly: uses
- Student views → Answer keyboard: provides (evidence: `VisualizeMaths/students/views.py`)
- Answer keyboard → CortexJS: uses
- Student views → Function visualisation: provides (evidence: `VisualizeMaths/students/views.py`)
- Function visualisation → Desmos API: uses
