How wachiraphantisanthia/direction-navigate works
This is a browser-based city mall navigator. A visitor selects a floor, searches or browses its stores, selects a destination, and views a route on the floor map; the app also estimates walking distance and time and can generate a QR code for navigation. The excerpts show these responsibilities within one JavaScript file, so the graph separates them by role rather than implying separate modules. Source excerpts are partial, and the README is empty; links not directly evidenced are omitted.
Main entry points: app.js Floor tabs and store list · map Floor map images
Components 10
Store discovery
- Floor store data
app.js - Floor tabs and store list
app.js - Store selection
app.js
Route guidance
- Route coordinates
app.js - Distance and time estimate
app.js - Route map rendering
app.js - Floor map images
map
Navigation sharing
- QR modal
app.js - QRCode library
Other components
- Mall visitor
Connections 6
- Mall visitor → Floor tabs and store list: uses
app.js - Floor tabs and store list → Floor store data: filters
app.js - Floor tabs and store list → Store selection: selects
app.js - Route map rendering → Route coordinates: gets coordinates
app.js - Route map rendering → Floor map images: loads image
app.js - QR modal → QRCode library: generates code
app.js