/urbanflo-vite

Create and simulate traffic networks on a canvas app

Primary LanguageTypeScriptMIT LicenseMIT

Urban Flo

CI Status Licence badge

UrbanFlo Logo

Urban Flo allows users to model traffic networks, run simulations and collect information on the networks efficiency.

Features

  • Backed by SUMO simulation engine
  • 100% web based - no need for complicated installation
  • Simulation statistics
  • Save and load your network to your device at any time
  • Free and open source (MIT licensed)

Screenshots

Simulation UI:

Simulation UI

Simulation statistics:

Simulation statistics

User guide

Refer to the user guide document.

Development

To start development on Urban Flo

Install Dependencies

pnpm install

To run the application

pnpm dev

Connecting to the SUMO server

A developer has two options, either to connect and run simulations on the cloud server running on sumo-server.urbanflo.app or run the server locally.

To run the server locally, follow the instructions in the server's repository and change the following variables in src/simulation-urls.ts

export const DOMAIN_NAME = 'localhost:8080';
export const BASE_URL = `http://${DOMAIN_NAME}`;
export const SIMULATION_SOCKET_URL = `ws://${DOMAIN_NAME}/simulation-socket`;

Contributors

UrbanFlo contributors

Licence

Licensed under MIT License.