# ph-santos0/sigma-monitorias architecture

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

- Interactive diagram: https://gitdiagram.com/ph-santos0/sigma-monitorias
- Repository: https://github.com/ph-santos0/sigma-monitorias

## Overview

SIGMA is a Django web platform for managing academic monitorias, from role-based access and monitor enrollment through monthly document submission, professor review, and pedagogical oversight. The principal workflow is represented across the routing, views, forms, and domain records; the README also describes notifications and reports, but their implementation was not sampled. Some view-to-template and subsystem relationships are therefore omitted rather than inferred.

Main entry points: [`sigma/models.py`](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/models.py) (Academic records), [`sigma/urls.py`](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/urls.py) (Route dispatch), [`sigma/views.py`](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/views.py) (Document submission), [`sigma/forms.py`](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/forms.py) (Submission forms)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access and routing"]
  node_routes["Route dispatch<br/>[urls.py]"]
  node_auth["Login and profile<br/>[views.py]"]
end

subgraph group_monitor["Monitor workflow"]
  node_monitor_view["Monitor workspace<br/>[views.py]"]
  node_submission["Document submission<br/>[views.py]"]
  node_submission_form["Submission forms<br/>[forms.py]"]
  node_monitor_ui["Monitor screens"]
  node_send_ui["Upload screen"]
end

subgraph group_review["Review workflow"]
  node_professor["Professor review<br/>[views.py]"]
  node_professor_ui["Professor screens"]
end

subgraph group_pedagogy["Pedagogical management"]
  node_pedagogy_view["Pedagogical management<br/>[views.py]"]
  node_management_forms["Management forms<br/>[forms.py]"]
  node_pedagogy_ui["Pedagogical screens"]
end

subgraph group_domain["Domain records"]
  node_records[("Academic records<br/>[models.py]")]
  node_notifications["Email notifications"]
  node_reports["Reports"]
end

node_user(("Platform users"))

node_user -->|"requests pages"| node_routes
node_routes -->|"dispatches auth"| node_auth
node_routes -->|"dispatches monitor"| node_monitor_view
node_routes -->|"dispatches uploads"| node_submission
node_routes -->|"dispatches review"| node_professor
node_routes -->|"dispatches management"| node_pedagogy_view
node_auth -->|"authenticates"| node_user
node_monitor_view -->|"queries records"| node_records
node_submission -->|"validates input"| node_submission_form
node_submission -->|"saves delivery"| node_records
node_submission_form -->|"models fields"| node_records
node_monitor_view -->|"renders dashboard"| node_monitor_ui
node_submission -->|"renders upload"| node_send_ui
node_professor -->|"updates review"| node_records
node_professor -.->|"renders review"| node_professor_ui
node_pedagogy_view -->|"uses forms"| node_management_forms
node_management_forms -->|"models fields"| node_records
node_pedagogy_view -->|"manages records"| node_records
node_pedagogy_view -.->|"renders dashboard"| node_pedagogy_ui
node_records -.->|"supports capability"| node_notifications
node_records -.->|"supports capability"| node_reports

click node_routes "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/urls.py"
click node_auth "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/views.py"
click node_monitor_view "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/views.py"
click node_submission "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/views.py"
click node_submission_form "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/forms.py"
click node_monitor_ui "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/templates/sigma/monitor/dashboard_monitor.html"
click node_send_ui "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/templates/sigma/monitor/enviar_documento.html"
click node_professor "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/views.py"
click node_professor_ui "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/templates/sigma/professor/avaliacoes_pendentes.html"
click node_pedagogy_view "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/views.py"
click node_management_forms "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/forms.py"
click node_pedagogy_ui "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/templates/sigma/pedagogico/dashboard_pedagogico.html"
click node_records "https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/models.py"
click node_notifications "https://github.com/ph-santos0/sigma-monitorias/tree/main/sigma"
click node_reports "https://github.com/ph-santos0/sigma-monitorias/tree/main/sigma"

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_routes,node_auth,node_user toneBlue
class node_monitor_view,node_submission,node_submission_form,node_monitor_ui,node_send_ui toneAmber
class node_professor,node_professor_ui toneMint
class node_pedagogy_view,node_management_forms,node_pedagogy_ui toneRose
class node_records,node_notifications,node_reports toneIndigo
```

## Components

### Access and routing

- [Route dispatch](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/urls.py): `sigma/urls.py`
- [Login and profile](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/views.py): `sigma/views.py`

### Monitor workflow

- [Monitor workspace](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/views.py): `sigma/views.py`
- [Document submission](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/views.py): `sigma/views.py`
- [Submission forms](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/forms.py): `sigma/forms.py`
- [Monitor screens](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/templates/sigma/monitor/dashboard_monitor.html): `sigma/templates/sigma/monitor/dashboard_monitor.html`
- [Upload screen](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/templates/sigma/monitor/enviar_documento.html): `sigma/templates/sigma/monitor/enviar_documento.html`

### Review workflow

- [Professor review](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/views.py): `sigma/views.py`
- [Professor screens](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/templates/sigma/professor/avaliacoes_pendentes.html): `sigma/templates/sigma/professor/avaliacoes_pendentes.html`

### Pedagogical management

- [Pedagogical management](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/views.py): `sigma/views.py`
- [Management forms](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/forms.py): `sigma/forms.py`
- [Pedagogical screens](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/templates/sigma/pedagogico/dashboard_pedagogico.html): `sigma/templates/sigma/pedagogico/dashboard_pedagogico.html`

### Domain records

- [Academic records](https://github.com/ph-santos0/sigma-monitorias/blob/main/sigma/models.py): `sigma/models.py`
- [Email notifications](https://github.com/ph-santos0/sigma-monitorias/tree/main/sigma): `sigma`
- [Reports](https://github.com/ph-santos0/sigma-monitorias/tree/main/sigma): `sigma`

### Other components

- **Platform users**

## Connections

- Platform users → Route dispatch: requests pages (evidence: `sigma/urls.py`)
- Route dispatch → Login and profile: dispatches auth (evidence: `sigma/urls.py`)
- Route dispatch → Monitor workspace: dispatches monitor (evidence: `sigma/urls.py`)
- Route dispatch → Document submission: dispatches uploads (evidence: `sigma/urls.py`)
- Route dispatch → Professor review: dispatches review (evidence: `sigma/urls.py`)
- Route dispatch → Pedagogical management: dispatches management (evidence: `sigma/urls.py`)
- Login and profile → Platform users: authenticates (evidence: `sigma/views.py`)
- Monitor workspace → Academic records: queries records (evidence: `sigma/views.py`)
- Document submission → Submission forms: validates input (evidence: `sigma/views.py`)
- Document submission → Academic records: saves delivery (evidence: `sigma/views.py`)
- Submission forms → Academic records: models fields (evidence: `sigma/forms.py`)
- Monitor workspace → Monitor screens: renders dashboard (evidence: `sigma/views.py`)
- Document submission → Upload screen: renders upload (evidence: `sigma/views.py`)
- Professor review → Academic records: updates review (evidence: `sigma/views.py`)
- Professor review → Professor screens: renders review
- Pedagogical management → Management forms: uses forms (evidence: `sigma/views.py`)
- Management forms → Academic records: models fields (evidence: `sigma/forms.py`)
- Pedagogical management → Academic records: manages records (evidence: `sigma/views.py`)
- Pedagogical management → Pedagogical screens: renders dashboard
- Academic records → Email notifications: supports capability (evidence: `README.md`)
- Academic records → Reports: supports capability (evidence: `README.md`)
