# deekshithr137-blip/smart-attendence- architecture

> Architecture diagram of the GitHub repository deekshithr137-blip/smart-attendence-, 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/deekshithr137-blip/smart-attendence-
- Repository: https://github.com/deekshithr137-blip/smart-attendence-

## Overview

The repository appears to be an Android smart-attendance app. Its named screens suggest user-facing authentication, dashboard, attendance, timetable, subject-detail, assistant, copilot, and simulation capabilities; the data tree includes separate attendance and course persistence components. The supplied material contains no README or runtime source excerpts, so those relationships and the precise user-to-result flow cannot be verified. Components below are mapped from the file tree; no call or data-flow edges are asserted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["App experience"]
  node_main_activity["Main activity<br/>[MainActivity.kt]"]
  node_auth_screen["Authentication<br/>[AuthScreen.kt]"]
  node_dashboard_screen["Dashboard<br/>[DashboardScreen.kt]"]
  node_timetable_screen["Timetable<br/>[TimetableScreen.kt]"]
  node_subject_detail_screen["Subject details"]
  node_assistant_screen["App assistant"]
  node_copilot_screen["Copilot<br/>[CopilotScreen.kt]"]
  node_simulator_screen["Simulator<br/>[SimulatorScreen.kt]"]
  node_ui_components["UI components<br/>[Components.kt]"]
  node_ui_dialogs["Dialogs<br/>[Dialogs.kt]"]
end

subgraph group_attendance["Attendance data"]
  node_attendance_viewmodel["Attendance state"]
  node_attendance_repository["Attendance repository"]
  node_attendance_dao["Attendance DAO<br/>[AttendanceDao.kt]"]
  node_app_database[("App database<br/>[AppDatabase.kt]")]
  node_entities["Data entities<br/>[Entities.kt]"]
end

subgraph group_courses["Course data"]
  node_course_repository["Course repository"]
  node_course_dao["Course DAO<br/>[CourseDao.kt]"]
  node_course_database[("Course database<br/>[CourseDatabase.kt]")]
  node_course_model["Course model<br/>[Course.kt]"]
  node_subject_model["Subject model<br/>[Subject.kt]"]
end

click node_main_activity "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/MainActivity.kt"
click node_auth_screen "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/AuthScreen.kt"
click node_dashboard_screen "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/DashboardScreen.kt"
click node_timetable_screen "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/TimetableScreen.kt"
click node_subject_detail_screen "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/SubjectDetailScreen.kt"
click node_assistant_screen "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/AppAssistantScreen.kt"
click node_copilot_screen "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/CopilotScreen.kt"
click node_simulator_screen "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/SimulatorScreen.kt"
click node_ui_components "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/components/Components.kt"
click node_ui_dialogs "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/components/Dialogs.kt"
click node_attendance_viewmodel "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/viewmodel/AttendanceViewModel.kt"
click node_attendance_repository "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/AttendanceRepository.kt"
click node_attendance_dao "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/AttendanceDao.kt"
click node_app_database "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/AppDatabase.kt"
click node_entities "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/Entities.kt"
click node_course_repository "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/CourseRepository.kt"
click node_course_dao "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/CourseDao.kt"
click node_course_database "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/CourseDatabase.kt"
click node_course_model "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/Course.kt"
click node_subject_model "https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/model/Subject.kt"

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_main_activity,node_auth_screen,node_dashboard_screen,node_timetable_screen,node_subject_detail_screen,node_assistant_screen,node_copilot_screen,node_simulator_screen,node_ui_components,node_ui_dialogs toneBlue
class node_attendance_viewmodel,node_attendance_repository,node_attendance_dao,node_app_database,node_entities toneAmber
class node_course_repository,node_course_dao,node_course_database,node_course_model,node_subject_model toneMint
```

## Components

### App experience

- [Main activity](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/MainActivity.kt): `app/src/main/java/com/example/MainActivity.kt`
- [Authentication](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/AuthScreen.kt): `app/src/main/java/com/example/ui/screens/AuthScreen.kt`
- [Dashboard](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/DashboardScreen.kt): `app/src/main/java/com/example/ui/screens/DashboardScreen.kt`
- [Timetable](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/TimetableScreen.kt): `app/src/main/java/com/example/ui/screens/TimetableScreen.kt`
- [Subject details](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/SubjectDetailScreen.kt): `app/src/main/java/com/example/ui/screens/SubjectDetailScreen.kt`
- [App assistant](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/AppAssistantScreen.kt): `app/src/main/java/com/example/ui/screens/AppAssistantScreen.kt`
- [Copilot](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/CopilotScreen.kt): `app/src/main/java/com/example/ui/screens/CopilotScreen.kt`
- [Simulator](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/screens/SimulatorScreen.kt): `app/src/main/java/com/example/ui/screens/SimulatorScreen.kt`
- [UI components](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/components/Components.kt): `app/src/main/java/com/example/ui/components/Components.kt`
- [Dialogs](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/ui/components/Dialogs.kt): `app/src/main/java/com/example/ui/components/Dialogs.kt`

### Attendance data

- [Attendance state](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/viewmodel/AttendanceViewModel.kt): `app/src/main/java/com/example/viewmodel/AttendanceViewModel.kt`
- [Attendance repository](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/AttendanceRepository.kt): `app/src/main/java/com/example/data/AttendanceRepository.kt`
- [Attendance DAO](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/AttendanceDao.kt): `app/src/main/java/com/example/data/AttendanceDao.kt`
- [App database](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/AppDatabase.kt): `app/src/main/java/com/example/data/AppDatabase.kt`
- [Data entities](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/Entities.kt): `app/src/main/java/com/example/data/Entities.kt`

### Course data

- [Course repository](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/CourseRepository.kt): `app/src/main/java/com/example/data/CourseRepository.kt`
- [Course DAO](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/CourseDao.kt): `app/src/main/java/com/example/data/CourseDao.kt`
- [Course database](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/CourseDatabase.kt): `app/src/main/java/com/example/data/CourseDatabase.kt`
- [Course model](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/data/Course.kt): `app/src/main/java/com/example/data/Course.kt`
- [Subject model](https://github.com/deekshithr137-blip/smart-attendence-/blob/main/app/src/main/java/com/example/model/Subject.kt): `app/src/main/java/com/example/model/Subject.kt`
