# muhammadsaffff/flight-planning-system architecture

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

- Interactive diagram: https://gitdiagram.com/muhammadsaffff/flight-planning-system
- Repository: https://github.com/muhammadsaffff/flight-planning-system

## Overview

A small Java Swing flight-planning interface with separate screens for passenger details, flight details, booking details, and travel history. Each screen has its own main method; the excerpts show no persistence or wired navigation between screens. The dashboard displays navigation buttons, but no button actions are shown, so those links are omitted.

Main entry points: [`Loginframe.java`](https://github.com/muhammadsaffff/flight-planning-system/blob/main/Loginframe.java) (Welcome screen), [`Dashboardframe.java`](https://github.com/muhammadsaffff/flight-planning-system/blob/main/Dashboardframe.java) (Dashboard), [`PassengerFrame.java`](https://github.com/muhammadsaffff/flight-planning-system/blob/main/PassengerFrame.java) (Passenger details), [`FlightFrame.java`](https://github.com/muhammadsaffff/flight-planning-system/blob/main/FlightFrame.java) (Flight details)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_flight_ui["Flight UI"]
  node_login["Welcome screen<br/>[Loginframe.java]"]
  node_dashboard["Dashboard"]
  node_passenger["Passenger details"]
  node_flight["Flight details<br/>[FlightFrame.java]"]
  node_booking["Booking details"]
  node_history["Travel history"]
end

node_user(("User"))

node_user -->|"launches"| node_login
node_user -->|"launches"| node_dashboard
node_user -->|"launches"| node_passenger
node_user -->|"launches"| node_flight
node_user -->|"launches"| node_booking
node_user -->|"launches"| node_history

click node_login "https://github.com/muhammadsaffff/flight-planning-system/blob/main/Loginframe.java"
click node_dashboard "https://github.com/muhammadsaffff/flight-planning-system/blob/main/Dashboardframe.java"
click node_passenger "https://github.com/muhammadsaffff/flight-planning-system/blob/main/PassengerFrame.java"
click node_flight "https://github.com/muhammadsaffff/flight-planning-system/blob/main/FlightFrame.java"
click node_booking "https://github.com/muhammadsaffff/flight-planning-system/blob/main/BookFlightFrame.java"
click node_history "https://github.com/muhammadsaffff/flight-planning-system/blob/main/Managebookframe.java"

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_login,node_dashboard,node_passenger,node_flight,node_booking,node_history,node_user toneBlue
```

## Components

### Flight UI

- [Welcome screen](https://github.com/muhammadsaffff/flight-planning-system/blob/main/Loginframe.java): `Loginframe.java`
- [Dashboard](https://github.com/muhammadsaffff/flight-planning-system/blob/main/Dashboardframe.java): `Dashboardframe.java`
- [Passenger details](https://github.com/muhammadsaffff/flight-planning-system/blob/main/PassengerFrame.java): `PassengerFrame.java`
- [Flight details](https://github.com/muhammadsaffff/flight-planning-system/blob/main/FlightFrame.java): `FlightFrame.java`
- [Booking details](https://github.com/muhammadsaffff/flight-planning-system/blob/main/BookFlightFrame.java): `BookFlightFrame.java`
- [Travel history](https://github.com/muhammadsaffff/flight-planning-system/blob/main/Managebookframe.java): `Managebookframe.java`

### Other components

- **User**

## Connections

- User → Welcome screen: launches (evidence: `Loginframe.java`)
- User → Dashboard: launches (evidence: `Dashboardframe.java`)
- User → Passenger details: launches (evidence: `PassengerFrame.java`)
- User → Flight details: launches (evidence: `FlightFrame.java`)
- User → Booking details: launches (evidence: `BookFlightFrame.java`)
- User → Travel history: launches (evidence: `Managebookframe.java`)
