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.
- 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.
- Java
- JavaFX: For building the user interface and visualizations.
Ensure you have the following installed:
- Java Development Kit (JDK) (Version 19 or later)
- JavaFX SDK (Download from openjfx.io)
- 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