Skip to main content

Module graph

Module graph 

Source
Expand description

Graph abstraction and storage.

Re-exports§

pub use query::EdgeEndpoint;
pub use query::ModuleEdge;
pub use query::NodeInfo;
pub use query::Query;
pub use schema::EdgeType;
pub use schema::NodeId;
pub use schema::NodeType;
pub use store::Store;

Modules§

query
Common graph queries.
schema
Node and edge type definitions for the code graph.
store
CozoDB-backed graph storage.

Functions§

datavalue_to_json
Convert a Cozo DataValue to plain serde_json::Value (no {"Str": "x"} wrappers). Used so MCP query tool returns JSON that is directly usable by clients.