Skip to content

Files

Latest commit

 

History

History
53 lines (40 loc) · 1.69 KB

File metadata and controls

53 lines (40 loc) · 1.69 KB

Traffic Management System 🚦

A Java-based project designed to visualize and manage traffic systems using a graph-based approach. This system uses JavaFX for creating interactive visualizations of nodes (intersections) and edges (roads) to depict real-world traffic scenarios effectively.


🎯 Features

  • Graph Visualization:
    • Nodes represent intersections.
    • Edges represent roads with weights (e.g., distance or traffic load).
  • Dynamic Interaction:
    • Add or modify nodes and edges in the traffic graph.
  • Customizable UI:
    • Visual representation of traffic flow using circles and lines.
    • Color-coded nodes and edges for better understanding.

🛠️ Technologies Used

  • Java
  • JavaFX: For building the user interface and visualizations.

🚀 Getting Started

Prerequisites

Ensure you have the following installed:

  • Java Development Kit (JDK) (Version 19 or later)
  • JavaFX SDK (Download from openjfx.io)

Setup Instructions

  1. Clone the repository:
    git clone https://github.com/your-username/Traffic-Management-System.git
    cd Traffic-Management-System
    java --module-path "path-to-javafx-sdk/lib" --add-modules javafx.controls,javafx.fxml GraphVisualization
    

📁 Project Structure

  TrafficManagementSystem/
  ├── lib/                  # JavaFX SDK libraries
  ├── src/                  # Source files
  │   └── GraphVisualization.java  # Main visualization logic
  ├── .vscode/              # VS Code configuration files
  └── README.md             # Project documentation

👨‍💻 Author