How sriharshasunny/researchgraph-ai works
ResearchGraph AI is a research-literature workspace presented as a React application. Users enter through authentication, then navigate a dashboard and tools for paper search, chat, graph exploration, paper details, saved papers, comparisons, literature synthesis, research-gap analysis, and history. AppContext supplies shared workspace state and mock paper data. The README describes only a Vite template; the product capabilities here are inferred from the named application components and sampled UI text. Backend behavior and most feature internals were not inspected, so the graph avoids claiming service-level workflows.
Main entry points: App.tsx Route Dispatcher · AppContext.tsx Workspace State · AuthPage.tsx Authentication · main.tsx React Bootstrap
Components 23
Application Entry
- Route Dispatcher
src/App.tsx - Authentication
src/features/auth/AuthPage.tsx - Launch Sequence
src/features/auth/LaunchSequence.tsx - React Bootstrap
src/main.tsx
Workspace Shell
- Navigation Bar
src/components/Navbar.tsx - Workspace Sidebar
src/components/Sidebar.tsx - Profile Settings
src/components/ProfileModal.tsx - Preferences
src/components/SettingsModal.tsx - Interactive Background
src/components/InteractiveSpaceBackground.tsx
Research Tools
- Dashboard
src/features/dashboard/Dashboard.tsx - Paper Search
src/features/search/SearchPage.tsx - Research Chat
src/features/chat/ChatPage.tsx - Knowledge Graph
src/features/graph/KnowledgeGraphPage.tsx - Paper Details
src/features/details/PaperDetailsPage.tsx - Saved Papers
src/features/saved/SavedPage.tsx - Paper Comparison
src/features/compare/ComparePage.tsx - Literature Review
src/features/literature/LiteratureReviewPage.tsx - Research Gaps
src/features/gaps/ResearchGapsPage.tsx - Research History
src/features/history/HistoryPage.tsx
Shared State
- Workspace State
src/context/AppContext.tsx - Mock Paper Catalog
src/data/mockData.ts
Other components
- Researcher
- Supabase Client
src/lib/supabase.ts
Connections 36
- Researcher → React Bootstrap: opens
- React Bootstrap → Workspace State: provides state
src/main.tsx - React Bootstrap → Route Dispatcher: renders
src/main.tsx - Route Dispatcher → Authentication: routes to
src/App.tsx - Route Dispatcher → Launch Sequence: routes to
src/App.tsx - Route Dispatcher → Dashboard: renders
src/App.tsx - Route Dispatcher → Research Chat: renders
src/App.tsx - Route Dispatcher → Knowledge Graph: renders
src/App.tsx - Route Dispatcher → Paper Search: renders
src/App.tsx - Route Dispatcher → Paper Details: renders
src/App.tsx - Route Dispatcher → Saved Papers: renders
src/App.tsx - Route Dispatcher → Paper Comparison: renders
src/App.tsx - Route Dispatcher → Literature Review: renders
src/App.tsx - Route Dispatcher → Research Gaps: renders
src/App.tsx - Route Dispatcher → Research History: renders
src/App.tsx - Route Dispatcher → Navigation Bar: renders
src/App.tsx - Route Dispatcher → Workspace Sidebar: renders
src/App.tsx - Authentication → Launch Sequence: completes to
src/App.tsx - Authentication → Interactive Background: renders
src/features/auth/AuthPage.tsx - Authentication → Supabase Client: uses client
src/features/auth/AuthPage.tsx - Navigation Bar → Profile Settings: opens
src/components/Navbar.tsx - Navigation Bar → Preferences: opens
src/components/Navbar.tsx - Workspace State → Mock Paper Catalog: loads papers
src/context/AppContext.tsx - Dashboard → Workspace State: reads state
src/features/dashboard/Dashboard.tsx - Paper Search → Workspace State: reads state
src/features/search/SearchPage.tsx - Research Chat → Workspace State: reads state
src/features/chat/ChatPage.tsx - Knowledge Graph → Workspace State: reads state
src/features/graph/KnowledgeGraphPage.tsx - Paper Details → Workspace State: reads state
src/features/details/PaperDetailsPage.tsx - Saved Papers → Workspace State: reads state
src/features/saved/SavedPage.tsx - Paper Comparison → Workspace State: reads state
src/features/compare/ComparePage.tsx - Literature Review → Workspace State: reads state
src/features/literature/LiteratureReviewPage.tsx - Research Gaps → Workspace State: reads state
src/features/gaps/ResearchGapsPage.tsx - Research History → Workspace State: reads state
src/features/history/HistoryPage.tsx - Profile Settings → Workspace State: uses state
src/components/ProfileModal.tsx - Preferences → Workspace State: uses state
src/components/SettingsModal.tsx - Workspace Sidebar → Workspace State: uses state
src/components/Sidebar.tsx