Skip to content

Drullkus/London-Metro-Planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 13: Holistic Route Planning

Assignment solution written by Drullkus, a student in a Spring 2024 Python course. This project is written and tested with Python 3.10 on a 2023 MacBook Pro with the M2 Max chip.

Usage Instructions

Launch visualization.py as the main file to open the graphical interface.

Given time constraints that are external of this assignment, it is written and designed to be simple. The Metro map can be dragged around and each station, represented by circles as nodes on a graph of metro lines.

The first station clicked will be treated as the starting station, the second station clicked will become the destination. Subsequent station selections will result in the newly-clicked station becoming the destination, while the prior destination becomes the source.

Dependencies

The only non-standard dependency required is DearPyGui, a Python API for creating a graphical application running ImGui. ImGui is simple API, designed and best utilized for integrating into existing game codebases that utilize a rendering loop. It is battle-tested and heavily used in the Video Game Industry.

Python however is not as efficient as C# or Java, let alone raw C++. DearPyGui is more of a wrapper than a direct integration of ImGui into the Python language, thus operating on a different paradigm than of stock ImGui. There is no support for remote display or rendering, so it must be installed on the user's machine.

DearPyGui can be installed with pip3 install dearpygui. It is supported on Windows, macOS, and Linux.

No other dependencies are necessary.

Data Sets

Datasets are sourced from Wikimedia.

About

Python class final assignment, featuring ImGui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages