# ashik-13/sciverse architecture

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

- Interactive diagram: https://gitdiagram.com/ashik-13/sciverse
- Repository: https://github.com/ashik-13/sciverse

## Overview

SciVerse is a browser-based science and mathematics reference and learning application. Users browse or filter equations, open equation pages for explanations and interactive visualizations, explore subjects and standalone visualizations, and search or read learning resources. The React app routes these experiences over bundled JavaScript content; no backend or persistent content store is evidenced. The graph follows documented imports and routes, but several unsampled pages and components are represented at their exact tree paths, so their internal interactions are not detailed.

Main entry points: [`sciverse/src/App.jsx`](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/App.jsx) (App routes), [`sciverse/src/pages/EquationDetails.jsx`](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/EquationDetails.jsx) (Equation details), [`sciverse/src/pages/Explore.jsx`](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/Explore.jsx) (Equation explorer), [`sciverse/src/pages/Subject.jsx`](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/Subject.jsx) (Subject browser)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_bootstrap["React bootstrap<br/>[main.jsx]"]
  node_router["App routes<br/>[App.jsx]"]
  node_theme["Theme state<br/>[ThemeContext.jsx]"]
  node_navigation["Site navigation<br/>[Navbar.jsx]"]
  node_footer["Site footer<br/>[Footer.jsx]"]
end

subgraph group_equations["Equation library"]
  node_equationspage["Equation explorer<br/>[Explore.jsx]"]
  node_equationsdata["Equation catalog<br/>[equations.js]"]
  node_filtercontrols["Explore filters<br/>[ExploreFilters.jsx]"]
  node_equationdetail["Equation details"]
  node_detaildata["Equation explanations<br/>[equationDetails.js]"]
  node_equationwidgets["Equation detail widgets"]
  node_mathrender["Math renderer<br/>[MathEquation.jsx]"]
  node_interactiveviz["Equation visualizer"]
end

subgraph group_discovery["Subject and visual discovery"]
  node_home["Home page<br/>[Home.jsx]"]
  node_homecontent["Home content<br/>[homeContent.js]"]
  node_subjectpage["Subject browser<br/>[Subject.jsx]"]
  node_subjectsdata["Subject catalog<br/>[subjects.js]"]
  node_visualpage["Visualization gallery<br/>[Visualizations.jsx]"]
  node_visualdata["Visualization catalog<br/>[visualizations.js]"]
  node_visualcomponents["Visualization components"]
end

subgraph group_learning["Learning resources"]
  node_learningpage["Learning center<br/>[LearningCenter.jsx]"]
  node_learningdata["Learning resource catalog"]
  node_learningsearch["Resource search<br/>[LearningSearch.jsx]"]
  node_learningdetail["Resource reader"]
  node_learningcontent["Resource content view"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens app"| node_bootstrap
node_bootstrap -->|"renders"| node_router
node_router -->|"provides theme"| node_theme
node_router -->|"renders"| node_navigation
node_router -->|"renders"| node_footer
node_router -->|"routes to"| node_home
node_router -->|"routes to"| node_equationspage
node_router -->|"routes to"| node_equationdetail
node_router -->|"routes to"| node_subjectpage
node_router -->|"routes to"| node_visualpage
node_router -->|"routes to"| node_learningpage
node_router -->|"routes to"| node_learningdetail
node_home -->|"reads content"| node_homecontent
node_equationspage -->|"filters catalog"| node_equationsdata
node_equationspage -->|"renders filters"| node_filtercontrols
node_equationdetail -->|"finds equation"| node_equationsdata
node_equationdetail -->|"loads details"| node_detaildata
node_equationdetail -->|"renders sections"| node_equationwidgets
node_equationdetail -->|"renders formula"| node_mathrender
node_equationdetail -->|"renders visualizer"| node_interactiveviz
node_subjectpage -->|"reads subjects"| node_subjectsdata
node_subjectpage -->|"reads equations"| node_equationsdata
node_visualpage -->|"reads catalog"| node_visualdata
node_visualpage -->|"renders cards"| node_visualcomponents
node_learningpage -->|"searches resources"| node_learningdata
node_learningpage -->|"renders search"| node_learningsearch
node_learningdetail -->|"loads resource"| node_learningdata
node_learningdetail -->|"renders content"| node_learningcontent

click node_bootstrap "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/main.jsx"
click node_router "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/App.jsx"
click node_theme "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/context/ThemeContext.jsx"
click node_navigation "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/layout/Navbar.jsx"
click node_footer "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/layout/Footer.jsx"
click node_home "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/Home.jsx"
click node_homecontent "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/data/homeContent.js"
click node_equationspage "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/Explore.jsx"
click node_equationsdata "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/data/equations.js"
click node_filtercontrols "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/explore/ExploreFilters.jsx"
click node_equationdetail "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/EquationDetails.jsx"
click node_detaildata "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/data/equationDetails.js"
click node_equationwidgets "https://github.com/ashik-13/sciverse/tree/main/sciverse/src/components/equation"
click node_mathrender "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/common/MathEquation.jsx"
click node_interactiveviz "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/equation/EquationVisualization.jsx"
click node_subjectpage "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/Subject.jsx"
click node_subjectsdata "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/data/subjects.js"
click node_visualpage "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/Visualizations.jsx"
click node_visualdata "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/data/visualizations.js"
click node_visualcomponents "https://github.com/ashik-13/sciverse/tree/main/sciverse/src/components/visualization"
click node_learningpage "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/LearningCenter.jsx"
click node_learningdata "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/data/learningResources.js"
click node_learningsearch "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/learning/LearningSearch.jsx"
click node_learningdetail "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/LearningResource.jsx"
click node_learningcontent "https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/learning/LearningResourceContent.jsx"

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_bootstrap,node_router,node_theme,node_navigation,node_footer toneBlue
class node_equationspage,node_equationsdata,node_filtercontrols,node_equationdetail,node_detaildata,node_equationwidgets,node_mathrender,node_interactiveviz toneAmber
class node_home,node_homecontent,node_subjectpage,node_subjectsdata,node_visualpage,node_visualdata,node_visualcomponents toneMint
class node_learningpage,node_learningdata,node_learningsearch,node_learningdetail,node_learningcontent toneRose
class node_visitor toneIndigo
```

## Components

### Application shell

- [React bootstrap](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/main.jsx): `sciverse/src/main.jsx`
- [App routes](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/App.jsx): `sciverse/src/App.jsx`
- [Theme state](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/context/ThemeContext.jsx): `sciverse/src/context/ThemeContext.jsx`
- [Site navigation](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/layout/Navbar.jsx): `sciverse/src/components/layout/Navbar.jsx`
- [Site footer](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/layout/Footer.jsx): `sciverse/src/components/layout/Footer.jsx`

### Equation library

- [Equation explorer](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/Explore.jsx): `sciverse/src/pages/Explore.jsx`
- [Equation catalog](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/data/equations.js): `sciverse/src/data/equations.js`
- [Explore filters](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/explore/ExploreFilters.jsx): `sciverse/src/components/explore/ExploreFilters.jsx`
- [Equation details](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/EquationDetails.jsx): `sciverse/src/pages/EquationDetails.jsx`
- [Equation explanations](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/data/equationDetails.js): `sciverse/src/data/equationDetails.js`
- [Equation detail widgets](https://github.com/ashik-13/sciverse/tree/main/sciverse/src/components/equation): `sciverse/src/components/equation`
- [Math renderer](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/common/MathEquation.jsx): `sciverse/src/components/common/MathEquation.jsx`
- [Equation visualizer](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/equation/EquationVisualization.jsx): `sciverse/src/components/equation/EquationVisualization.jsx`

### Subject and visual discovery

- [Home page](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/Home.jsx): `sciverse/src/pages/Home.jsx`
- [Home content](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/data/homeContent.js): `sciverse/src/data/homeContent.js`
- [Subject browser](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/Subject.jsx): `sciverse/src/pages/Subject.jsx`
- [Subject catalog](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/data/subjects.js): `sciverse/src/data/subjects.js`
- [Visualization gallery](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/Visualizations.jsx): `sciverse/src/pages/Visualizations.jsx`
- [Visualization catalog](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/data/visualizations.js): `sciverse/src/data/visualizations.js`
- [Visualization components](https://github.com/ashik-13/sciverse/tree/main/sciverse/src/components/visualization): `sciverse/src/components/visualization`

### Learning resources

- [Learning center](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/LearningCenter.jsx): `sciverse/src/pages/LearningCenter.jsx`
- [Learning resource catalog](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/data/learningResources.js): `sciverse/src/data/learningResources.js`
- [Resource search](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/learning/LearningSearch.jsx): `sciverse/src/components/learning/LearningSearch.jsx`
- [Resource reader](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/pages/LearningResource.jsx): `sciverse/src/pages/LearningResource.jsx`
- [Resource content view](https://github.com/ashik-13/sciverse/blob/main/sciverse/src/components/learning/LearningResourceContent.jsx): `sciverse/src/components/learning/LearningResourceContent.jsx`

### Other components

- **Site visitor**

## Connections

- Site visitor → React bootstrap: opens app (evidence: `sciverse/src/main.jsx`)
- React bootstrap → App routes: renders (evidence: `sciverse/src/main.jsx`)
- App routes → Theme state: provides theme (evidence: `sciverse/src/App.jsx`)
- App routes → Site navigation: renders (evidence: `sciverse/src/App.jsx`)
- App routes → Site footer: renders (evidence: `sciverse/src/App.jsx`)
- App routes → Home page: routes to (evidence: `sciverse/src/App.jsx`)
- App routes → Equation explorer: routes to (evidence: `sciverse/src/App.jsx`)
- App routes → Equation details: routes to (evidence: `sciverse/src/App.jsx`)
- App routes → Subject browser: routes to (evidence: `sciverse/src/App.jsx`)
- App routes → Visualization gallery: routes to (evidence: `sciverse/src/App.jsx`)
- App routes → Learning center: routes to (evidence: `sciverse/src/App.jsx`)
- App routes → Resource reader: routes to (evidence: `sciverse/src/App.jsx`)
- Home page → Home content: reads content (evidence: `sciverse/src/pages/Home.jsx`)
- Equation explorer → Equation catalog: filters catalog (evidence: `sciverse/src/pages/Explore.jsx`)
- Equation explorer → Explore filters: renders filters (evidence: `sciverse/src/pages/Explore.jsx`)
- Equation details → Equation catalog: finds equation (evidence: `sciverse/src/pages/EquationDetails.jsx`)
- Equation details → Equation explanations: loads details (evidence: `sciverse/src/pages/EquationDetails.jsx`)
- Equation details → Equation detail widgets: renders sections (evidence: `sciverse/src/pages/EquationDetails.jsx`)
- Equation details → Math renderer: renders formula (evidence: `sciverse/src/pages/EquationDetails.jsx`)
- Equation details → Equation visualizer: renders visualizer (evidence: `sciverse/src/pages/EquationDetails.jsx`)
- Subject browser → Subject catalog: reads subjects (evidence: `sciverse/src/pages/Subject.jsx`)
- Subject browser → Equation catalog: reads equations (evidence: `sciverse/src/pages/Subject.jsx`)
- Visualization gallery → Visualization catalog: reads catalog (evidence: `sciverse/src/pages/Visualizations.jsx`)
- Visualization gallery → Visualization components: renders cards (evidence: `sciverse/src/pages/Visualizations.jsx`)
- Learning center → Learning resource catalog: searches resources (evidence: `sciverse/src/pages/LearningCenter.jsx`)
- Learning center → Resource search: renders search (evidence: `sciverse/src/pages/LearningCenter.jsx`)
- Resource reader → Learning resource catalog: loads resource (evidence: `sciverse/src/pages/LearningResource.jsx`)
- Resource reader → Resource content view: renders content (evidence: `sciverse/src/pages/LearningResource.jsx`)
