Skip to main content

load_graph

Function load_graph 

Source
pub fn load_graph(
    store: &ForgeStore,
    version_id: Option<&str>,
) -> ForgeResult<CausalGraph>
Expand description

Load the causal graph from the store into memory.

Reconstructs the in-memory CausalGraph from persisted cea_nodes and cea_edges. If version_id is Some, only edges for that version are loaded; otherwise all edges.