How ericmetho517-wq/el_salhyautilites works
This is a bilingual dashboard for exploring Obour’s utility networks, roads, and sectors. Users enter through the overview, browse all networks, or open a network-specific detail view; those pages load summary, sector, road, or network JSON and present it through maps, charts, filters, and tables. The graph preserves the main visualization and styling layers. The README is empty, and some page excerpts are partial, so edges reflect only shown imports, calls, or fetch behavior.
Main entry points: NetworkDetail.tsx Network detail · AllNetworks.tsx All networks · App.tsx App router · Overview.tsx City overview
Components 19
Navigation and shell
- App router
src/App.tsx - Navigation shell
src/components/Layout.tsx
Dashboard views
- City overview
src/pages/Overview.tsx - All networks
src/pages/AllNetworks.tsx - Network detail
src/pages/NetworkDetail.tsx
Analysis and visualization
- Interactive map
src/components/Map.tsx - Charts
src/components/Charts.tsx - Feature table
src/components/DataTable.tsx - Smart filters
src/components/SmartFilter.tsx - Element types
src/components/ElementTypesPanel.tsx - Stat cards
src/components/StatCard.tsx - Network icons
src/components/NetworkIcon.tsx - Type indicator
src/components/TypeIndicator.tsx
Data and presentation logic
- JSON data access
src/lib/data.ts - Network symbology
src/lib/symbology.ts - Domain data types
src/lib/types.ts - Localization
src/lib/i18n.ts
Other components
- Dashboard user
- Static JSON data
Connections 27
- Dashboard user → App router: opens dashboard
src/App.tsx - App router → Navigation shell: wraps routes
src/App.tsx - App router → City overview: routes to
src/App.tsx - App router → All networks: routes to
src/App.tsx - App router → Network detail: routes to
src/App.tsx - Navigation shell → Localization: reads language
src/components/Layout.tsx - Navigation shell → Network icons: renders
src/components/Layout.tsx - City overview → JSON data access: loads summaries
src/pages/Overview.tsx - City overview → Interactive map: renders
src/pages/Overview.tsx - City overview → Charts: renders
src/pages/Overview.tsx - City overview → Stat cards: renders
src/pages/Overview.tsx - All networks → JSON data access: loads network data
src/pages/AllNetworks.tsx - All networks → Interactive map: renders
src/pages/AllNetworks.tsx - All networks → Charts: renders
src/pages/AllNetworks.tsx - All networks → Feature table: renders
src/pages/AllNetworks.tsx - All networks → Stat cards: renders
src/pages/AllNetworks.tsx - Network detail → JSON data access: loads network data
src/pages/NetworkDetail.tsx - Network detail → Interactive map: renders
src/pages/NetworkDetail.tsx - Network detail → Charts: renders
src/pages/NetworkDetail.tsx - Network detail → Feature table: renders
src/pages/NetworkDetail.tsx - Network detail → Smart filters: renders
src/pages/NetworkDetail.tsx - Network detail → Element types: renders
src/pages/NetworkDetail.tsx - Network detail → Stat cards: renders
src/pages/NetworkDetail.tsx - JSON data access → Static JSON data: fetches JSON
src/lib/data.ts - Interactive map → Network symbology: gets feature styles
src/components/Map.tsx - Stat cards → Type indicator: renders
src/components/StatCard.tsx - Element types → Type indicator: renders
src/components/ElementTypesPanel.tsx