Skip to main content

Module property_graph

Module property_graph 

Source
Expand description

Property Graph Engine — SQLite-backed code knowledge graph.

Stores nodes (File, Symbol, Module) and edges (imports, calls, defines, exports) extracted by deep_queries + import_resolver. Provides efficient traversal queries for impact analysis, architecture discovery, and graph-driven context loading.

Structs§

CodeGraph
DependencyChain
Edge
GraphQuery
ImpactResult
Node
PropertyGraphMetaV1

Enums§

EdgeKind
NodeKind

Functions§

edge_weight
Weight multiplier per edge kind for impact scoring.
file_connectivity
Graph connectivity stats for a file: incoming/outgoing edge counts by kind.
graph_dir
Resolve the directory for graph.db and graph.meta.json.
load_meta
meta_path
related_files
Related files for a given path: direct neighbors via any structural edge, sorted by edge weight (strongest relationship first). Returns (path, weight) pairs.
write_meta