Skip to main content

Module graph_provider

Module graph_provider 

Source

Structs§

EdgeInfo
FileInfo
OpenGraphProvider
SymbolInfo

Enums§

GraphProvider
GraphProviderSource

Functions§

build_property_graph
Build the property graph from the proven graph_index extractor (#682.1).
open_best_effort
Open an already-built graph, kicking off a one-shot background build when the property graph is not fully populated so the next call is fast. Returns None on this call when nothing is ready yet. Best-effort callers (dashboards, context gate, stats, ctx_graph) use this; callers that need a graph right now use open_or_build, which builds synchronously instead.
open_or_build
open_ready
Hot-path open for optional enrichment (post-read hints, silent preload): only a fully populated property graph, opened from SQLite. Never parses the JSON index and never builds synchronously — when the graph is not ready it schedules the background build and returns None, so the caller simply skips its optional work. A read must not wait seconds (or a 30 s build) for a hint it may not even show.