# zeekotomori/nexus-mipa architecture

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

- Interactive diagram: https://gitdiagram.com/zeekotomori/nexus-mipa
- Repository: https://github.com/zeekotomori/nexus-mipa

## Overview

Nexus MIPA is a science-learning and exploration web app. Users can explore topic pages and library material, or enter a projectile-motion simulation, adjust its inputs, and view calculated results and a trajectory chart. The repository also contains profile and settings screens. The graph emphasizes these product areas; some routes and UI components are represented from the file tree, but their internal connections are omitted where the supplied excerpts do not show them.

Main entry points: [`src/routes/+page.svelte`](https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/%2Bpage.svelte) (Explore home), [`src/routes/lab/+page.svelte`](https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/lab/%2Bpage.svelte) (Simulation controls), [`src/routes/perpus/[slug]/+page.svelte`](https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/perpus/%5Bslug%5D/%2Bpage.svelte) (Topic detail), [`src/lib/components/TrajectoryChart.svelte`](https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/components/TrajectoryChart.svelte) (Trajectory chart)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Learning content"]
  node_home["Explore home<br/>[+page.svelte]"]
  node_motion_topic["Motion topic<br/>[+page.svelte]"]
  node_library_list["Topic library<br/>[+page.svelte]"]
  node_library_detail["Topic detail<br/>[+page.svelte]"]
  node_library_content["Topic content data<br/>[perpus.js]"]
end

subgraph group_simulation["Motion simulation"]
  node_lab["Simulation controls<br/>[+page.svelte]"]
  node_physics["Projectile physics<br/>[physics.js]"]
  node_trajectory["Trajectory chart"]
end

subgraph group_app["App navigation"]
  node_layout["Shared layout<br/>[+layout.svelte]"]
  node_bottom_nav["Bottom navigation<br/>[BottomNav.svelte]"]
  node_dots["Decorative dots<br/>[Dots.svelte]"]
end

subgraph group_account["Profile and settings"]
  node_settings_list["Settings menu"]
  node_settings_routes["Settings pages"]
  node_profile["Learner profile<br/>[+page.svelte]"]
  node_notifications["Notifications<br/>[+page.svelte]"]
end

node_learner(("Learner"))

node_learner -->|"opens"| node_home
node_home -->|"links to"| node_lab
node_home -->|"links to"| node_motion_topic
node_home -->|"links to"| node_library_detail
node_home -.->|"links to"| node_library_list
node_home -->|"renders"| node_trajectory
node_home -->|"renders"| node_settings_list
node_home -->|"renders"| node_dots
node_lab -->|"calculates with"| node_physics
node_lab -->|"renders"| node_trajectory
node_trajectory -->|"calculates with"| node_physics
node_layout -->|"renders"| node_bottom_nav
node_library_list -.->|"leads to"| node_library_detail
node_library_detail -.->|"uses content"| node_library_content

click node_home "https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/%2Bpage.svelte"
click node_motion_topic "https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/topik/gerak/%2Bpage.svelte"
click node_library_list "https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/perpus/%2Bpage.svelte"
click node_library_detail "https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/perpus/%5Bslug%5D/%2Bpage.svelte"
click node_library_content "https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/data/perpus.js"
click node_lab "https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/lab/%2Bpage.svelte"
click node_physics "https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/physics.js"
click node_trajectory "https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/components/TrajectoryChart.svelte"
click node_layout "https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/%2Blayout.svelte"
click node_bottom_nav "https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/components/BottomNav.svelte"
click node_dots "https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/components/Dots.svelte"
click node_settings_list "https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/components/SettingsList.svelte"
click node_settings_routes "https://github.com/zeekotomori/nexus-mipa/tree/main/src/routes/pengaturan"
click node_profile "https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/profil/%2Bpage.svelte"
click node_notifications "https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/notifikasi/%2Bpage.svelte"

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_home,node_motion_topic,node_library_list,node_library_detail,node_library_content toneBlue
class node_lab,node_physics,node_trajectory toneAmber
class node_layout,node_bottom_nav,node_dots toneMint
class node_settings_list,node_settings_routes,node_profile,node_notifications toneRose
class node_learner toneIndigo
```

## Components

### Learning content

- [Explore home](https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/%2Bpage.svelte): `src/routes/+page.svelte`
- [Motion topic](https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/topik/gerak/%2Bpage.svelte): `src/routes/topik/gerak/+page.svelte`
- [Topic library](https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/perpus/%2Bpage.svelte): `src/routes/perpus/+page.svelte`
- [Topic detail](https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/perpus/%5Bslug%5D/%2Bpage.svelte): `src/routes/perpus/[slug]/+page.svelte`
- [Topic content data](https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/data/perpus.js): `src/lib/data/perpus.js`

### Motion simulation

- [Simulation controls](https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/lab/%2Bpage.svelte): `src/routes/lab/+page.svelte`
- [Projectile physics](https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/physics.js): `src/lib/physics.js`
- [Trajectory chart](https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/components/TrajectoryChart.svelte): `src/lib/components/TrajectoryChart.svelte`

### App navigation

- [Shared layout](https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/%2Blayout.svelte): `src/routes/+layout.svelte`
- [Bottom navigation](https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/components/BottomNav.svelte): `src/lib/components/BottomNav.svelte`
- [Decorative dots](https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/components/Dots.svelte): `src/lib/components/Dots.svelte`

### Profile and settings

- [Settings menu](https://github.com/zeekotomori/nexus-mipa/blob/main/src/lib/components/SettingsList.svelte): `src/lib/components/SettingsList.svelte`
- [Settings pages](https://github.com/zeekotomori/nexus-mipa/tree/main/src/routes/pengaturan): `src/routes/pengaturan`
- [Learner profile](https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/profil/%2Bpage.svelte): `src/routes/profil/+page.svelte`
- [Notifications](https://github.com/zeekotomori/nexus-mipa/blob/main/src/routes/notifikasi/%2Bpage.svelte): `src/routes/notifikasi/+page.svelte`

### Other components

- **Learner**

## Connections

- Learner → Explore home: opens
- Explore home → Simulation controls: links to (evidence: `src/routes/+page.svelte`)
- Explore home → Motion topic: links to (evidence: `src/routes/+page.svelte`)
- Explore home → Topic detail: links to (evidence: `src/routes/+page.svelte`)
- Explore home → Topic library: links to
- Explore home → Trajectory chart: renders (evidence: `src/routes/+page.svelte`)
- Explore home → Settings menu: renders (evidence: `src/routes/+page.svelte`)
- Explore home → Decorative dots: renders (evidence: `src/routes/+page.svelte`)
- Simulation controls → Projectile physics: calculates with (evidence: `src/routes/lab/+page.svelte`)
- Simulation controls → Trajectory chart: renders (evidence: `src/routes/lab/+page.svelte`)
- Trajectory chart → Projectile physics: calculates with (evidence: `src/lib/components/TrajectoryChart.svelte`)
- Shared layout → Bottom navigation: renders (evidence: `src/routes/+layout.svelte`)
- Topic library → Topic detail: leads to
- Topic detail → Topic content data: uses content
