How systragroup/quetzal-network-editor works
Quenedi is a browser-based editor for public-transport and road networks, designed to work with Quetzal. The main workflow is to load network files or a saved scenario, edit network features on a map, optionally prepare data or use network-processing services, configure and launch a model run, then inspect map, table, or picture outputs. The graph includes editing state, routing utilities, cloud scenario storage, authentication, and the documented service and results branches. Some page and component connections are not shown in sampled source, so those links are omitted rather than inferred.
Main entry points: index.js Page router · Microservices.vue Processing services · rlinks.ts Road links state · APIComposable.ts Service API client
Components 28
Application
- App shell
src/App.vue - Page router
src/router/index.js
Network editing
- Network import
src/pages/Import.vue - Transit links state
src/store/links.ts - Road links state
src/store/rlinks.ts - Map link editor
src/components/map/RoadLinks.vue - Link drawing
src/components/map/RoadLinksDraw.vue - Network routing
src/utils/routing/routing.js - Nearest-point search
src/utils/routing/nearest.js - Network calculations
src/utils/network.ts - GeoJSON model
src/types/geojson.ts - Scenario files
src/store/index.ts
Data services
- Processing services
src/pages/Microservices.vue - GTFS import
src/store/GTFSImporter.ts - OSM import
src/store/OSMImporter.ts - Map matching
src/store/MapMatching.ts - Road matrix casting
src/store/MatrixRoadCaster.ts - Transit processing
src/store/Transit.ts - Service API client
src/composables/APIComposable.ts
Runs and results
- Model run state
src/store/run.ts - Run configuration
src/pages/Run.vue - Results views
src/components/results/results.ts - Results map
src/pages/ResultMap.vue - Results table
src/pages/ResultTable.vue - Results pictures
src/pages/ResultPicture.vue
Cloud and identity
- Scenario object storage
src/AWSClient.js - User identity state
src/store/user.ts
Other components
- Network planner
Connections 39
- Network planner → App shell: uses
src/App.vue - App shell → Page router: renders routes
src/App.vue - Page router → Network import: routes to
src/router/index.js - Page router → Processing services: routes to
src/router/index.js - Page router → Run configuration: routes to
src/router/index.js - Page router → Results map: routes to
src/router/index.js - Page router → Results table: routes to
src/router/index.js - Page router → Results pictures: routes to
src/router/index.js - Network planner → Network import: loads network files
- Network import → Transit links state: loads links
- Network import → Road links state: loads road links
- Network planner → Map link editor: edits network
- Map link editor → Link drawing: uses drawing
src/components/map/RoadLinks.vue - Map link editor → Road links state: edits state
- Network routing → Nearest-point search: builds search tree
src/utils/routing/routing.js - Network routing → Network calculations: calculates link metrics
src/utils/routing/routing.js - Network routing → Transit links state: reads link state
src/utils/routing/routing.js - Network routing → Road links state: reads road state
src/utils/routing/routing.js - Network calculations → GeoJSON model: uses GeoJSON types
src/utils/network.ts - Scenario files → Transit links state: loads network state
src/store/index.ts - Scenario files → Road links state: loads road state
src/store/index.ts - Scenario files → Model run state: loads run state
src/store/index.ts - Scenario files → Scenario object storage: uses storage client
src/store/index.ts - User identity state → Scenario object storage: configures credentials
src/store/user.ts - Processing services → GTFS import: offers processing
- Processing services → OSM import: offers processing
- Processing services → Map matching: offers processing
- Processing services → Road matrix casting: offers processing
- Processing services → Transit processing: offers processing
- GTFS import → Service API client: calls service API
src/store/GTFSImporter.ts - OSM import → Service API client: calls service API
src/store/OSMImporter.ts - Map matching → Service API client: calls service API
src/store/MapMatching.ts - Map matching → Road links state: uses road state
src/store/MapMatching.ts - Road matrix casting → Service API client: calls service API
src/store/MatrixRoadCaster.ts - Transit processing → Service API client: calls service API
src/store/Transit.ts - Network planner → Run configuration: configures run
- Network planner → Results map: inspects results
- Network planner → Results table: inspects results
- Network planner → Results pictures: inspects results