Citation graph
A bibliography graph connected to the editor.
The current graph reads project .bib entries and citation keys used in .tex files, then connects papers by shared authors, venues, years, and title similarity.
Connected code: src/latex/citationAnalysis.ts, src/features/graph/knowledgeGraph.ts, src/components/KnowledgeGraphView.tsx
Model
- Each node is one bibliography entry with key, title, authors, venue, year, type, cited status, and degree.
- Edges are typed as shared author, same venue, same year, or similar topic from title-token Jaccard overlap.
- Weights are configurable, then pruned to the strongest edges per node so large libraries stay readable.
- Stats include node count, edge count, cited count, and connected component count.
Tools
parseBibFilereads BibTeX throughbibtex-parsewith size and entry limits.extractCitationUsagesscans\cite-style commands in project TeX files.analyzeCitationLibraryreports used, unused, missing, duplicate, stale, and low-quality references.- The graph view adds search, cited-only filtering, relation toggles, weight sliders, pan, zoom, drag, and citation insertion.
Result
Authors can see which references are central, which cited papers are isolated, which uncited papers are related, and where the bibliography has quality problems. The same graph data feeds citation recommendations for selected prose.