# karthikeya-143/flarre-ai architecture

> Architecture diagram of the GitHub repository karthikeya-143/flarre-ai, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/karthikeya-143/flarre-ai
- Repository: https://github.com/karthikeya-143/flarre-ai

## Overview

INSURON AI is a client-side insurance-claim investigation prototype, not a connected ingestion or analysis backend: the README describes its intended evidence-to-review workflow, while the sampled app presents seeded fictional data and interactive views. The principal user path runs from the dashboard or claim workspace through findings, graph and evidence inspection, human review, and a report or audit view. The README also documents conditional investigation, upload staging, architecture and roadmap capabilities. Those capabilities are represented as product views; their underlying processing is not verified in the sampled source.

Main entry points: [`src/App.tsx`](https://github.com/karthikeya-143/flarre-ai/blob/main/src/App.tsx) (App navigation), [`src/components/review/ReviewConsoleView.tsx`](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/review/ReviewConsoleView.tsx) (Human review console), [`src/data/mockData.ts`](https://github.com/karthikeya-143/flarre-ai/blob/main/src/data/mockData.ts) (Seeded claim data), [`src/components/graph/KnowledgeGraphView.tsx`](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/graph/KnowledgeGraphView.tsx) (Knowledge graph)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_app_shell["App navigation<br/>[App.tsx]"]
  node_navigation["Navigation controls<br/>[Navbar.tsx]"]
  node_sidebar["View sidebar<br/>[Sidebar.tsx]"]
  node_landing["Landing page<br/>[LandingPage.tsx]"]
  node_seeded_data["Seeded claim data<br/>[mockData.ts]"]
end

subgraph group_investigation["Investigation views"]
  node_dashboard["Claims dashboard<br/>[DashboardView.tsx]"]
  node_workspace["Investigation workspace<br/>[WorkspaceView.tsx]"]
  node_findings["Findings matrix<br/>[FindingsView.tsx]"]
  node_knowledge_graph["Knowledge graph"]
  node_graph_nodes["Graph node rendering<br/>[CustomNodes.tsx]"]
  node_graph_utils["Graph data utilities<br/>[graphUtils.ts]"]
end

subgraph group_evidence_review["Evidence and review"]
  node_evidence["Evidence explorer"]
  node_upload["Document intake"]
  node_review["Human review console"]
  node_report["Investigation report<br/>[ReportView.tsx]"]
  node_audit["Audit and evaluation"]
end

subgraph group_product_support["Product capabilities"]
  node_architecture["Architecture view"]
  node_roadmap["Product roadmap<br/>[RoadmapView.tsx]"]
end

node_investigator(("Investigator"))

node_investigator -->|"uses"| node_app_shell
node_app_shell -->|"renders"| node_navigation
node_app_shell -->|"renders"| node_sidebar
node_app_shell -->|"renders"| node_landing
node_app_shell -->|"routes to"| node_dashboard
node_app_shell -->|"routes to"| node_workspace
node_app_shell -->|"routes to"| node_findings
node_app_shell -->|"renders"| node_knowledge_graph
node_app_shell -->|"routes to"| node_evidence
node_app_shell -->|"routes to"| node_upload
node_app_shell -->|"renders"| node_review
node_app_shell -->|"routes to"| node_report
node_app_shell -->|"routes to"| node_audit
node_app_shell -->|"renders"| node_architecture
node_app_shell -->|"routes to"| node_roadmap
node_dashboard -->|"reads"| node_seeded_data
node_workspace -->|"reads"| node_seeded_data
node_findings -->|"reads"| node_seeded_data
node_evidence -->|"reads"| node_seeded_data
node_review -->|"reads"| node_seeded_data
node_report -->|"reads"| node_seeded_data
node_knowledge_graph -->|"renders"| node_graph_nodes
node_knowledge_graph -->|"uses"| node_graph_utils
node_findings -->|"opens trace"| node_evidence
node_findings -->|"opens review"| node_review
node_review -->|"opens graph"| node_knowledge_graph
node_review -->|"opens passages"| node_evidence
node_workspace -->|"opens graph"| node_knowledge_graph
node_review -.->|"records actions"| node_audit

click node_app_shell "https://github.com/karthikeya-143/flarre-ai/blob/main/src/App.tsx"
click node_navigation "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/layout/Navbar.tsx"
click node_sidebar "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/layout/Sidebar.tsx"
click node_landing "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/landing/LandingPage.tsx"
click node_seeded_data "https://github.com/karthikeya-143/flarre-ai/blob/main/src/data/mockData.ts"
click node_dashboard "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/dashboard/DashboardView.tsx"
click node_workspace "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/workspace/WorkspaceView.tsx"
click node_findings "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/findings/FindingsView.tsx"
click node_knowledge_graph "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/graph/KnowledgeGraphView.tsx"
click node_graph_nodes "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/graph/CustomNodes.tsx"
click node_graph_utils "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/graph/graphUtils.ts"
click node_evidence "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/evidence/EvidenceExplorerView.tsx"
click node_upload "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/upload/DocumentUploadView.tsx"
click node_review "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/review/ReviewConsoleView.tsx"
click node_report "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/report/ReportView.tsx"
click node_audit "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/audit/AuditEvaluationView.tsx"
click node_architecture "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/architecture/ArchitectureView.tsx"
click node_roadmap "https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/roadmap/RoadmapView.tsx"

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_shell,node_navigation,node_sidebar,node_landing,node_seeded_data toneBlue
class node_dashboard,node_workspace,node_findings,node_knowledge_graph,node_graph_nodes,node_graph_utils toneAmber
class node_evidence,node_upload,node_review,node_report,node_audit toneMint
class node_architecture,node_roadmap toneRose
class node_investigator toneIndigo
```

## Components

### Application shell

- [App navigation](https://github.com/karthikeya-143/flarre-ai/blob/main/src/App.tsx): `src/App.tsx`
- [Navigation controls](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/layout/Navbar.tsx): `src/components/layout/Navbar.tsx`
- [View sidebar](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/layout/Sidebar.tsx): `src/components/layout/Sidebar.tsx`
- [Landing page](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/landing/LandingPage.tsx): `src/components/landing/LandingPage.tsx`
- [Seeded claim data](https://github.com/karthikeya-143/flarre-ai/blob/main/src/data/mockData.ts): `src/data/mockData.ts`

### Investigation views

- [Claims dashboard](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/dashboard/DashboardView.tsx): `src/components/dashboard/DashboardView.tsx`
- [Investigation workspace](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/workspace/WorkspaceView.tsx): `src/components/workspace/WorkspaceView.tsx`
- [Findings matrix](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/findings/FindingsView.tsx): `src/components/findings/FindingsView.tsx`
- [Knowledge graph](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/graph/KnowledgeGraphView.tsx): `src/components/graph/KnowledgeGraphView.tsx`
- [Graph node rendering](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/graph/CustomNodes.tsx): `src/components/graph/CustomNodes.tsx`
- [Graph data utilities](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/graph/graphUtils.ts): `src/components/graph/graphUtils.ts`

### Evidence and review

- [Evidence explorer](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/evidence/EvidenceExplorerView.tsx): `src/components/evidence/EvidenceExplorerView.tsx`
- [Document intake](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/upload/DocumentUploadView.tsx): `src/components/upload/DocumentUploadView.tsx`
- [Human review console](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/review/ReviewConsoleView.tsx): `src/components/review/ReviewConsoleView.tsx`
- [Investigation report](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/report/ReportView.tsx): `src/components/report/ReportView.tsx`
- [Audit and evaluation](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/audit/AuditEvaluationView.tsx): `src/components/audit/AuditEvaluationView.tsx`

### Product capabilities

- [Architecture view](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/architecture/ArchitectureView.tsx): `src/components/architecture/ArchitectureView.tsx`
- [Product roadmap](https://github.com/karthikeya-143/flarre-ai/blob/main/src/components/roadmap/RoadmapView.tsx): `src/components/roadmap/RoadmapView.tsx`

### Other components

- **Investigator**

## Connections

- Investigator → App navigation: uses (evidence: `README.md`)
- App navigation → Navigation controls: renders (evidence: `src/App.tsx`)
- App navigation → View sidebar: renders (evidence: `src/App.tsx`)
- App navigation → Landing page: renders (evidence: `src/App.tsx`)
- App navigation → Claims dashboard: routes to (evidence: `src/App.tsx`)
- App navigation → Investigation workspace: routes to (evidence: `README.md`)
- App navigation → Findings matrix: routes to (evidence: `README.md`)
- App navigation → Knowledge graph: renders (evidence: `src/App.tsx`)
- App navigation → Evidence explorer: routes to (evidence: `README.md`)
- App navigation → Document intake: routes to (evidence: `README.md`)
- App navigation → Human review console: renders (evidence: `src/App.tsx`)
- App navigation → Investigation report: routes to (evidence: `README.md`)
- App navigation → Audit and evaluation: routes to (evidence: `README.md`)
- App navigation → Architecture view: renders (evidence: `src/App.tsx`)
- App navigation → Product roadmap: routes to (evidence: `README.md`)
- Claims dashboard → Seeded claim data: reads (evidence: `src/components/dashboard/DashboardView.tsx`)
- Investigation workspace → Seeded claim data: reads (evidence: `src/components/workspace/WorkspaceView.tsx`)
- Findings matrix → Seeded claim data: reads (evidence: `src/components/findings/FindingsView.tsx`)
- Evidence explorer → Seeded claim data: reads (evidence: `src/components/evidence/EvidenceExplorerView.tsx`)
- Human review console → Seeded claim data: reads (evidence: `src/components/review/ReviewConsoleView.tsx`)
- Investigation report → Seeded claim data: reads (evidence: `src/components/report/ReportView.tsx`)
- Knowledge graph → Graph node rendering: renders (evidence: `src/components/graph/KnowledgeGraphView.tsx`)
- Knowledge graph → Graph data utilities: uses (evidence: `src/components/graph/KnowledgeGraphView.tsx`)
- Findings matrix → Evidence explorer: opens trace (evidence: `README.md`)
- Findings matrix → Human review console: opens review (evidence: `src/components/findings/FindingsView.tsx`)
- Human review console → Knowledge graph: opens graph (evidence: `src/components/review/ReviewConsoleView.tsx`)
- Human review console → Evidence explorer: opens passages (evidence: `src/components/review/ReviewConsoleView.tsx`)
- Investigation workspace → Knowledge graph: opens graph (evidence: `src/components/workspace/WorkspaceView.tsx`)
- Human review console → Audit and evaluation: records actions (evidence: `README.md`)
