Skip to main content

open_graph

Function open_graph 

Source
pub fn open_graph<P: AsRef<Path>>(
    path: P,
    cfg: &GraphConfig,
) -> Result<Box<dyn GraphBackend>, SqliteGraphError>
Expand description

Open a graph with the specified configuration.

This is the unified factory function that allows runtime backend selection.