LatexDo Research

Citation graph

Knowledge Graph

How LatexDo builds a deterministic bibliography graph from BibTeX entries, citation usage, and paper metadata.

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.

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

  • parseBibFile reads BibTeX through bibtex-parse with size and entry limits.
  • extractCitationUsages scans \cite-style commands in project TeX files.
  • analyzeCitationLibrary reports 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.