# juancruz-biondi/tp-analisi-numerico---rungekutta architecture

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

- Interactive diagram: https://gitdiagram.com/juancruz-biondi/tp-analisi-numerico---rungekutta
- Repository: https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta

## Overview

This is a browser-based Spanish-language initial-value-problem (P.V.I.) learning tool with a Flask backend. The user configures an ODE and numerical interval in the simulator; the interface presents numerical-solution metrics and a chart, alongside fundamentals and conclusion sections. The backend exposes an RK2 solve endpoint and a preset-exercises endpoint. The excerpts do not show the frontend’s request code or the solve endpoint’s integration and response logic, so no frontend-to-backend connection or internal numerical pipeline is asserted. MathText renders formulas for the interface.

Main entry points: [`frontend/src/App.jsx`](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/App.jsx) (ODE simulator), [`frontend/src/main.jsx`](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/main.jsx) (React entry), [`backend/main.py`](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/backend/main.py) (RK2 solve endpoint), [`frontend/src/components/MathText.jsx`](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/components/MathText.jsx) (Formula renderer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Learning interface"]
  node_app_entry["React entry<br/>[main.jsx]"]
  node_simulator["ODE simulator<br/>[App.jsx]"]
  node_solution_metrics["Solution metrics<br/>[App.jsx]"]
  node_solution_chart["Solution chart<br/>[App.jsx]"]
  node_fundamentals["P.V.I. fundamentals<br/>[App.jsx]"]
  node_conclusion["Conclusion section<br/>[App.jsx]"]
end

subgraph group_backend["Solve service"]
  node_solve_endpoint["RK2 solve endpoint<br/>[main.py]"]
  node_expression_parser["Expression parser<br/>[main.py]"]
  node_preset_endpoint["Preset exercises<br/>[main.py]"]
end

subgraph group_rendering["Math rendering"]
  node_math_text["Formula renderer<br/>[MathText.jsx]"]
end

node_learner(("Learner"))

node_learner -->|"configures"| node_simulator
node_app_entry -->|"renders"| node_simulator
node_simulator -->|"displays"| node_solution_metrics
node_simulator -->|"plots"| node_solution_chart
node_simulator -->|"shows"| node_fundamentals
node_simulator -->|"shows"| node_conclusion
node_simulator -->|"renders formulas"| node_math_text
node_solve_endpoint -->|"parses expression"| node_expression_parser

click node_app_entry "https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/main.jsx"
click node_simulator "https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/App.jsx"
click node_solution_metrics "https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/App.jsx"
click node_solution_chart "https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/App.jsx"
click node_fundamentals "https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/App.jsx"
click node_conclusion "https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/App.jsx"
click node_math_text "https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/components/MathText.jsx"
click node_solve_endpoint "https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/backend/main.py"
click node_expression_parser "https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/backend/main.py"
click node_preset_endpoint "https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/backend/main.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_app_entry,node_simulator,node_solution_metrics,node_solution_chart,node_fundamentals,node_conclusion toneBlue
class node_solve_endpoint,node_expression_parser,node_preset_endpoint toneAmber
class node_math_text toneMint
class node_learner toneIndigo
```

## Components

### Learning interface

- [React entry](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/main.jsx): `frontend/src/main.jsx`
- [ODE simulator](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Solution metrics](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Solution chart](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [P.V.I. fundamentals](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Conclusion section](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`

### Solve service

- [RK2 solve endpoint](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/backend/main.py): `backend/main.py`
- [Expression parser](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/backend/main.py): `backend/main.py`
- [Preset exercises](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/backend/main.py): `backend/main.py`

### Math rendering

- [Formula renderer](https://github.com/juancruz-biondi/tp-analisi-numerico---rungekutta/blob/main/frontend/src/components/MathText.jsx): `frontend/src/components/MathText.jsx`

### Other components

- **Learner**

## Connections

- Learner → ODE simulator: configures (evidence: `frontend/src/App.jsx`)
- React entry → ODE simulator: renders (evidence: `frontend/src/main.jsx`)
- ODE simulator → Solution metrics: displays (evidence: `frontend/src/App.jsx`)
- ODE simulator → Solution chart: plots (evidence: `frontend/src/App.jsx`)
- ODE simulator → P.V.I. fundamentals: shows (evidence: `frontend/src/App.jsx`)
- ODE simulator → Conclusion section: shows (evidence: `frontend/src/App.jsx`)
- ODE simulator → Formula renderer: renders formulas (evidence: `frontend/src/App.jsx`)
- RK2 solve endpoint → Expression parser: parses expression (evidence: `backend/main.py`)
