How amirzenoozi/citation-graph works
CiteWeb is a browser-based citation-graph explorer. Users enter a paper DOI or author identifier, fetch and merge scholarly records into a graph, then expand papers, authors, or topics and inspect details. The graph view also supports recommendations, analysis, connection tracing, bibliography import, sharing, and export. The graph store coordinates data retrieval and graph updates; persistence is local to the browser. Edges are based on shown imports/calls or README statements; several feature implementations are unsampled, so their internal links are not expanded.
Main entry points: GraphView.jsx Graph workspace · store.js Graph state and actions · api.js Scholarly data access · Home.jsx DOI / author entry
Components 17
User experience
- DOI / author entry
src/pages/Home.jsx - App routing
src/App.jsx - Graph workspace
src/pages/GraphView.jsx - Interactive graph canvas
src/components/Graph.jsx - Theme controls
src/useTheme.js
Graph and scholarly data
- Graph state and actions
src/store.js - Input classification
src/inputs.js - Scholarly data access
src/api.js
Analysis and discovery
- Graph metrics and paths
src/graphMetrics.js - Bibliography import
src/importRefs.js - Feature event tracking
src/analytics.js
Persistence and export
- Local and URL persistence
src/persist.js - Citation-list export
src/exportCitations.js
External services
- Crossref
- OpenAlex
- Semantic Scholar
Other components
- Researcher
Connections 20
- Researcher → DOI / author entry: enters identifier
src/pages/Home.jsx - App routing → DOI / author entry: routes to
src/App.jsx - App routing → Graph workspace: routes to
src/App.jsx - DOI / author entry → Graph state and actions: starts graph
src/pages/Home.jsx - Graph workspace → Graph state and actions: reads and updates
src/pages/GraphView.jsx - Graph workspace → Interactive graph canvas: renders
src/pages/GraphView.jsx - Graph workspace → Theme controls: uses theme
src/pages/GraphView.jsx - Graph state and actions → Input classification: classifies input
src/store.js - Graph state and actions → Scholarly data access: fetches graph data
src/store.js - Graph state and actions → Local and URL persistence: loads and saves
src/store.js - Graph state and actions → Feature event tracking: tracks events
src/store.js - Scholarly data access → Crossref: fetches references
README.md - Scholarly data access → OpenAlex: fetches records
README.md - Scholarly data access → Semantic Scholar: fetches recommendations
README.md - Graph workspace → Graph metrics and paths: computes paths and insights
src/pages/GraphView.jsx - Graph workspace → Bibliography import: imports bibliography
README.md - Graph workspace → Citation-list export: exports shortlist
src/pages/GraphView.jsx - Graph workspace → Local and URL persistence: encodes share recipe
src/pages/GraphView.jsx - Interactive graph canvas → Graph metrics and paths: renders influence
src/components/Graph.jsx - Graph workspace → Feature event tracking: tracks feature use
src/pages/GraphView.jsx