Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
graphify
command
Command graphify builds a knowledge graph from a source tree and answers queries against it.
|
Command graphify builds a knowledge graph from a source tree and answers queries against it. |
|
internal
|
|
|
analyze
Package analyze derives the human-facing insights the report surfaces: the most-connected "god nodes", surprising cross-file connections, and file-level import cycles.
|
Package analyze derives the human-facing insights the report surfaces: the most-connected "god nodes", surprising cross-file connections, and file-level import cycles. |
|
cache
Package cache persists per-file extraction results so `graphify update` can rebuild the graph after re-parsing only the files that changed.
|
Package cache persists per-file extraction results so `graphify update` can rebuild the graph after re-parsing only the files that changed. |
|
cluster
Package cluster runs community detection (Louvain, via gonum) on the graph, then post-processes the result the way the Python original does: oversized communities are split, and IDs are assigned by descending size with a lexical tie-break so the same grouping always yields the same IDs across runs.
|
Package cluster runs community detection (Louvain, via gonum) on the graph, then post-processes the result the way the Python original does: oversized communities are split, and IDs are assigned by descending size with a lexical tie-break so the same grouping always yields the same IDs across runs. |
|
detect
Package detect walks a project tree and returns the source files worth graphing.
|
Package detect walks a project tree and returns the source files worth graphing. |
|
export
Package export writes the assembled graph to disk.
|
Package export writes the assembled graph to disk. |
|
extract
Package extract turns a source file into graph fragments using tree-sitter.
|
Package extract turns a source file into graph fragments using tree-sitter. |
|
graph
Package graph assembles extraction output into the undirected knowledge graph the rest of the pipeline operates on.
|
Package graph assembles extraction output into the undirected knowledge graph the rest of the pipeline operates on. |
|
idutil
Package idutil builds stable node IDs from name parts.
|
Package idutil builds stable node IDs from name parts. |
|
langfamily
Package langfamily maps a source file's extension to its language interop family.
|
Package langfamily maps a source file's extension to its language interop family. |
|
model
Package model holds the graph data types shared across the pipeline: the extraction schema (nodes + edges) emitted by extractors and the assembled undirected Graph that downstream stages cluster, analyze, and export.
|
Package model holds the graph data types shared across the pipeline: the extraction schema (nodes + edges) emitted by extractors and the assembled undirected Graph that downstream stages cluster, analyze, and export. |
|
query
Package query answers questions against a built graph.json without rebuilding: find nodes by name, explain a node and its neighbours, and find the shortest dependency path between two nodes.
|
Package query answers questions against a built graph.json without rebuilding: find nodes by name, explain a node and its neighbours, and find the shortest dependency path between two nodes. |
|
report
Package report renders GRAPH_REPORT.md, the human-readable audit trail that accompanies graph.json: corpus summary, the core abstractions, surprising connections, import cycles, and the community breakdown.
|
Package report renders GRAPH_REPORT.md, the human-readable audit trail that accompanies graph.json: corpus summary, the core abstractions, surprising connections, import cycles, and the community breakdown. |
|
security
Package security holds the guards every piece of external input passes through: URL validation (SSRF), graph-file path containment, file-size caps, and label sanitisation.
|
Package security holds the guards every piece of external input passes through: URL validation (SSRF), graph-file path containment, file-size caps, and label sanitisation. |
|
semantic
Package semantic is the opt-in LLM enrichment stage.
|
Package semantic is the opt-in LLM enrichment stage. |
Click to show internal directories.
Click to hide internal directories.