~/talk

Leveraging Knowledge Graphs and LLMs to Document Large Scale Codebases

Talkat NODES 2025 · on Thursday, 2025-11-06· [large-language-models]
links:none on file
slides:none on file

Lockheed Martin builds a pipeline that parses multi-language repos with Tree-sitter, extracts import and class-interaction edges into a knowledge graph, ranks nodes by out-degree to find entry points, and feeds concise AST snippets to an LLM to generate UML activity/sequence/class diagrams. It handles codebases from thousands to millions of lines and demonstrates on Spring JDBC (over 128K token worth of files), producing grounded architecture diagrams automatically and reducing manual documentation effort.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 0:46Problem with codebase documentation
  3. 2:36Introducing knowledge graphs for LLMs
  4. 3:38Parsing code with Tree-sitter
  5. 4:40Relationships in knowledge graphs
  6. 6:27Abstract syntax trees and key artifacts
  7. 7:30Identifying important nodes in graphs
  8. 9:17Generating UML diagrams
  9. 11:01Demo with Spring JDBC library
  10. 12:02Activity diagram walkthrough
  11. 12:45Sequence diagram walkthrough
  12. 13:48Class diagram walkthrough
  13. 14:33Team acknowledgments and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.