Skip to content

A Java-based project that visualizes a traffic management system using graph structures and JavaFX. It demonstrates node and edge representation for traffic flow between locations, providing an interactive and visual approach to understanding connectivity.

Notifications You must be signed in to change notification settings

Davanesh/Traffic-Management-System-with-Graph-Visualization-using-JavaFX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Java-based project that visualizes a traffic management system using graph structures and JavaFX. It demonstrates node and edge representation for traffic flow between locations, providing an interactive and visual approach to understanding connectivity.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages