# devopsinsiders/nextops-dashboard architecture

> Architecture diagram of the GitHub repository devopsinsiders/nextops-dashboard, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/devopsinsiders/nextops-dashboard
- Repository: https://github.com/devopsinsiders/nextops-dashboard

## Overview

NextOps Industrial is a browser-based industrial condition-monitoring dashboard. Operators enter through sign-in, then navigate plant assets and views to inspect current telemetry, trends, alarms, topology and fleet status; a separate copilot supports AI-assisted interaction. The README documents separate query and copilot services. The excerpts establish several component compositions and API configuration, but not every route or request call, so uncertain runtime links are omitted.

Main entry points: [`src/components/pages/DashboardView.tsx`](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/DashboardView.tsx) (Device dashboard), [`src/App.tsx`](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/App.tsx) (App and routing), [`src/config/api.ts`](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/config/api.ts) (API endpoints), [`src/components/pages/HistoricalTrends.tsx`](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/HistoricalTrends.tsx) (Historical trends)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Application shell"]
  node_app["App and routing<br/>[App.tsx]"]
  node_login["Sign-in<br/>[Login.tsx]"]
  node_loading["Startup screen"]
  node_sidebar["Plant navigation<br/>[Sidebar.tsx]"]
  node_topbar["Dashboard header<br/>[TopBar.tsx]"]
end

subgraph group_monitor["Plant monitoring"]
  node_dashboard["Device dashboard<br/>[DashboardView.tsx]"]
  node_assets["Asset selector<br/>[AssetList.tsx]"]
  node_kpis["KPI summary<br/>[KPIStrip.tsx]"]
  node_twin["Digital twin<br/>[DigitalTwin.tsx]"]
  node_camera["Thermal camera<br/>[ThermalCamera.tsx]"]
  node_schematic["Plant schematic"]
  node_alarms["Alarms and events<br/>[AlarmsEvents.tsx]"]
  node_registry["Asset registry"]
  node_hierarchy["Asset hierarchy<br/>[AssetHierarchy.tsx]"]
  node_topology["System topology<br/>[SystemTopology.tsx]"]
  node_fleet["Fleet summary<br/>[FleetSummary.tsx]"]
  node_map["Fleet map<br/>[MapWidget.tsx]"]
  node_alerts["Alerts panel<br/>[AlertsPanel.tsx]"]
  node_thermalgrid["Thermal asset grid"]
end

subgraph group_analysis["Analysis and assistance"]
  node_historical["Historical trends"]
  node_live["Live trends<br/>[LiveTrend.tsx]"]
  node_chart["Trend chart<br/>[LiveTrendChart.tsx]"]
  node_throughput["Throughput view<br/>[Throughput.tsx]"]
  node_copilot["Industrial copilot"]
  node_settings["System settings<br/>[SystemSettings.tsx]"]
end

subgraph group_services["Service integration"]
  node_api["API endpoints<br/>[api.ts]"]
  node_date["Date formatting<br/>[date.ts]"]
end

node_operator(("Operator"))
node_queryservice{{"Query service"}}
node_copilotservice{{"Copilot service"}}

node_operator -->|"opens dashboard"| node_app
node_app -->|"renders sign-in"| node_login
node_app -->|"renders startup"| node_loading
node_app -->|"renders navigation"| node_sidebar
node_app -->|"renders header"| node_topbar
node_app -->|"renders schematic"| node_schematic
node_app -->|"renders assistant"| node_copilot
node_dashboard -->|"renders selector"| node_assets
node_dashboard -->|"renders metrics"| node_kpis
node_dashboard -->|"renders model"| node_twin
node_dashboard -->|"renders camera"| node_camera
node_dashboard -->|"renders trends"| node_live
node_dashboard -->|"renders throughput"| node_throughput
node_dashboard -->|"uses endpoints"| node_api
node_live -->|"formats timestamps"| node_date
node_historical -->|"configures requests"| node_api
node_historical -.->|"uses chart"| node_chart
node_fleet -->|"renders map"| node_map
node_alarms -->|"formats timestamps"| node_date
node_api -->|"defines query endpoints"| node_queryservice
node_api -->|"defines chat endpoints"| node_copilotservice
node_queryservice -.->|"supplies telemetry"| node_dashboard
node_copilot -.->|"sends chat requests"| node_copilotservice

click node_app "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/App.tsx"
click node_login "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/Login.tsx"
click node_loading "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/RefineryLoadingScreen.tsx"
click node_sidebar "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/Sidebar.tsx"
click node_topbar "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/TopBar.tsx"
click node_dashboard "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/DashboardView.tsx"
click node_assets "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/AssetList.tsx"
click node_kpis "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/KPIStrip.tsx"
click node_twin "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/DigitalTwin.tsx"
click node_camera "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/ThermalCamera.tsx"
click node_schematic "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/InteractivePlantSchematic.tsx"
click node_alarms "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/AlarmsEvents.tsx"
click node_registry "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/AssetRegistryTable.tsx"
click node_hierarchy "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/AssetHierarchy.tsx"
click node_topology "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/SystemTopology.tsx"
click node_fleet "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/FleetSummary.tsx"
click node_map "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/MapWidget.tsx"
click node_alerts "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/AlertsPanel.tsx"
click node_thermalgrid "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/ThermalAssetGrid.tsx"
click node_historical "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/HistoricalTrends.tsx"
click node_live "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/LiveTrend.tsx"
click node_chart "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/LiveTrendChart.tsx"
click node_throughput "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/Throughput.tsx"
click node_copilot "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/IndustrialCopilot.tsx"
click node_settings "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/SystemSettings.tsx"
click node_api "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/config/api.ts"
click node_date "https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/utils/date.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_login,node_loading,node_sidebar,node_topbar toneBlue
class node_dashboard,node_assets,node_kpis,node_twin,node_camera,node_schematic,node_alarms,node_registry,node_hierarchy,node_topology,node_fleet,node_map,node_alerts,node_thermalgrid toneAmber
class node_historical,node_live,node_chart,node_throughput,node_copilot,node_settings toneMint
class node_api,node_date toneRose
class node_operator,node_queryservice,node_copilotservice toneIndigo
```

## Components

### Application shell

- [App and routing](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/App.tsx): `src/App.tsx`
- [Sign-in](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/Login.tsx): `src/components/Login.tsx`
- [Startup screen](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/RefineryLoadingScreen.tsx): `src/components/RefineryLoadingScreen.tsx`
- [Plant navigation](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/Sidebar.tsx): `src/components/Sidebar.tsx`
- [Dashboard header](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/TopBar.tsx): `src/components/TopBar.tsx`

### Plant monitoring

- [Device dashboard](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/DashboardView.tsx): `src/components/pages/DashboardView.tsx`
- [Asset selector](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/AssetList.tsx): `src/components/AssetList.tsx`
- [KPI summary](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/KPIStrip.tsx): `src/components/KPIStrip.tsx`
- [Digital twin](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/DigitalTwin.tsx): `src/components/DigitalTwin.tsx`
- [Thermal camera](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/ThermalCamera.tsx): `src/components/ThermalCamera.tsx`
- [Plant schematic](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/InteractivePlantSchematic.tsx): `src/components/InteractivePlantSchematic.tsx`
- [Alarms and events](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/AlarmsEvents.tsx): `src/components/pages/AlarmsEvents.tsx`
- [Asset registry](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/AssetRegistryTable.tsx): `src/components/AssetRegistryTable.tsx`
- [Asset hierarchy](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/AssetHierarchy.tsx): `src/components/pages/AssetHierarchy.tsx`
- [System topology](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/SystemTopology.tsx): `src/components/pages/SystemTopology.tsx`
- [Fleet summary](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/FleetSummary.tsx): `src/components/pages/FleetSummary.tsx`
- [Fleet map](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/MapWidget.tsx): `src/components/MapWidget.tsx`
- [Alerts panel](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/AlertsPanel.tsx): `src/components/AlertsPanel.tsx`
- [Thermal asset grid](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/ThermalAssetGrid.tsx): `src/components/ThermalAssetGrid.tsx`

### Analysis and assistance

- [Historical trends](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/HistoricalTrends.tsx): `src/components/pages/HistoricalTrends.tsx`
- [Live trends](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/LiveTrend.tsx): `src/components/LiveTrend.tsx`
- [Trend chart](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/LiveTrendChart.tsx): `src/components/LiveTrendChart.tsx`
- [Throughput view](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/Throughput.tsx): `src/components/Throughput.tsx`
- [Industrial copilot](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/IndustrialCopilot.tsx): `src/components/IndustrialCopilot.tsx`
- [System settings](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/components/pages/SystemSettings.tsx): `src/components/pages/SystemSettings.tsx`

### Service integration

- [API endpoints](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/config/api.ts): `src/config/api.ts`
- [Date formatting](https://github.com/devopsinsiders/nextops-dashboard/blob/main/src/utils/date.ts): `src/utils/date.ts`

### Other components

- **Operator**
- **Query service**
- **Copilot service**

## Connections

- Operator → App and routing: opens dashboard
- App and routing → Sign-in: renders sign-in (evidence: `src/App.tsx`)
- App and routing → Startup screen: renders startup (evidence: `src/App.tsx`)
- App and routing → Plant navigation: renders navigation (evidence: `src/App.tsx`)
- App and routing → Dashboard header: renders header (evidence: `src/App.tsx`)
- App and routing → Plant schematic: renders schematic (evidence: `src/App.tsx`)
- App and routing → Industrial copilot: renders assistant (evidence: `src/App.tsx`)
- Device dashboard → Asset selector: renders selector (evidence: `src/components/pages/DashboardView.tsx`)
- Device dashboard → KPI summary: renders metrics (evidence: `src/components/pages/DashboardView.tsx`)
- Device dashboard → Digital twin: renders model (evidence: `src/components/pages/DashboardView.tsx`)
- Device dashboard → Thermal camera: renders camera (evidence: `src/components/pages/DashboardView.tsx`)
- Device dashboard → Live trends: renders trends (evidence: `src/components/pages/DashboardView.tsx`)
- Device dashboard → Throughput view: renders throughput (evidence: `src/components/pages/DashboardView.tsx`)
- Device dashboard → API endpoints: uses endpoints (evidence: `src/components/pages/DashboardView.tsx`)
- Live trends → Date formatting: formats timestamps (evidence: `src/components/LiveTrend.tsx`)
- Historical trends → API endpoints: configures requests (evidence: `src/components/pages/HistoricalTrends.tsx`)
- Historical trends → Trend chart: uses chart
- Fleet summary → Fleet map: renders map (evidence: `src/components/pages/FleetSummary.tsx`)
- Alarms and events → Date formatting: formats timestamps (evidence: `src/components/pages/AlarmsEvents.tsx`)
- API endpoints → Query service: defines query endpoints (evidence: `src/config/api.ts`)
- API endpoints → Copilot service: defines chat endpoints (evidence: `src/config/api.ts`)
- Query service → Device dashboard: supplies telemetry (evidence: `README.md`)
- Industrial copilot → Copilot service: sends chat requests (evidence: `README.md`)
