How mithun616/pelagix-global works
PELAGIX is a React coastal-risk exploration dashboard. Users select a region and climate scenario, then explore projections, mapped exposure, infrastructure access, event simulations, and risk rankings. The graph separates dashboard navigation, analytical features, curated data, and routing/scoring services. The README describes these capabilities, while implementation evidence is uneven: sampled imports and excerpts support the shown links; live feeds and backend processing are not established as implemented.
Main entry points: App.tsx Dashboard Shell · GlobalOverviewPage.tsx Global Overview · PelagixMap.tsx Interactive Map · AppContext.tsx App State
Components 23
Dashboard UI
- Dashboard Shell
src/App.tsx - App State
src/context/AppContext.tsx
Risk Exploration
- Global Overview
src/components/pages/GlobalOverviewPage.tsx - Sea-Level Trends
src/components/pages/SeaLevelTrendsPage.tsx - Coastal Risk Map
src/components/pages/CoastalRiskMapPage.tsx - Scenario Explorer
src/components/pages/ScenarioExplorerPage.tsx - Infrastructure Access
src/components/pages/InfrastructureAccessibilityPage.tsx - Event Monitor
src/components/pages/LiveEventMonitorPage.tsx - Risk Prioritization
src/components/pages/RiskPrioritizationPage.tsx - Data Sources
src/components/pages/DataSourcesPage.tsx - Methodology
src/components/pages/MethodologyPage.tsx - Settings
src/components/pages/SettingsPage.tsx - Interactive Map
src/components/map/PelagixMap.tsx - 3D Globe
src/components/map/PelagixGlobe3D.tsx
Domain Data
- Coastal Regions
src/data/coastalLocations.ts - Historical Observations
src/data/historicalObservations.ts - Climate Projections
src/data/ipccProjections.ts - Road Networks
src/data/roadNetworks.ts - Source Registry
src/data/dataSourceRegistry.ts
Analysis Services
- Risk Calculator
src/services/riskCalculator.ts - Route Solver
src/services/dijkstraRouter.ts - API Adapters
src/services/apiAdapters.ts
Other components
- Planner
Connections 40
- Planner → Dashboard Shell: uses
README.md - Dashboard Shell → App State: provides state
src/App.tsx - Dashboard Shell → Global Overview: routes to
src/App.tsx - Dashboard Shell → Sea-Level Trends: routes to
src/App.tsx - Dashboard Shell → Coastal Risk Map: routes to
src/App.tsx - Dashboard Shell → Scenario Explorer: routes to
src/App.tsx - Dashboard Shell → Infrastructure Access: routes to
src/App.tsx - Dashboard Shell → Event Monitor: routes to
src/App.tsx - Dashboard Shell → Risk Prioritization: routes to
src/App.tsx - Dashboard Shell → Data Sources: routes to
src/App.tsx - Dashboard Shell → Methodology: routes to
src/App.tsx - Dashboard Shell → Settings: routes to
src/App.tsx - App State → Coastal Regions: loads region state
src/context/AppContext.tsx - App State → Road Networks: loads road graph
src/context/AppContext.tsx - App State → Route Solver: creates router
src/context/AppContext.tsx - Global Overview → App State: reads state
src/components/pages/GlobalOverviewPage.tsx - Global Overview → Interactive Map: renders
src/components/pages/GlobalOverviewPage.tsx - Global Overview → 3D Globe: renders
src/components/pages/GlobalOverviewPage.tsx - Global Overview → Climate Projections: reads projections
src/components/pages/GlobalOverviewPage.tsx - Global Overview → Coastal Regions: reads regions
src/components/pages/GlobalOverviewPage.tsx - Global Overview → Source Registry: reads sources
src/components/pages/GlobalOverviewPage.tsx - Sea-Level Trends → Historical Observations: reads observations
src/components/pages/SeaLevelTrendsPage.tsx - Sea-Level Trends → Climate Projections: reads projections
src/components/pages/SeaLevelTrendsPage.tsx - Coastal Risk Map → Interactive Map: renders
src/components/pages/CoastalRiskMapPage.tsx - Coastal Risk Map → 3D Globe: renders
src/components/pages/CoastalRiskMapPage.tsx - Scenario Explorer → Risk Calculator: calculates risk
src/components/pages/ScenarioExplorerPage.tsx - Scenario Explorer → Climate Projections: reads projections
src/components/pages/ScenarioExplorerPage.tsx - Infrastructure Access → Interactive Map: renders
src/components/pages/InfrastructureAccessibilityPage.tsx - Infrastructure Access → Road Networks: reads network
src/components/pages/InfrastructureAccessibilityPage.tsx - Event Monitor → API Adapters: uses adapters
src/components/pages/LiveEventMonitorPage.tsx - Risk Prioritization → Risk Calculator: calculates ranking
src/components/pages/RiskPrioritizationPage.tsx - Risk Prioritization → Coastal Regions: reads regions
src/components/pages/RiskPrioritizationPage.tsx - Data Sources → Source Registry: reads registry
src/components/pages/DataSourcesPage.tsx - Settings → API Adapters: uses adapters
src/components/pages/SettingsPage.tsx - Interactive Map → Coastal Regions: renders locations
src/components/map/PelagixMap.tsx - Interactive Map → Road Networks: renders roads
src/components/map/PelagixMap.tsx - Interactive Map → Historical Observations: reads gauges
src/components/map/PelagixMap.tsx - 3D Globe → Coastal Regions: renders locations
src/components/map/PelagixGlobe3D.tsx - Risk Calculator → Climate Projections: reads projections
src/services/riskCalculator.ts - Route Solver → Road Networks: routes on graph
src/services/dijkstraRouter.ts