Skip to main content

Crate mem_graph

Crate mem_graph 

Source
Expand description

Graph store trait and in-memory implementation.

Structs§

GraphNeighbor
Neighbor item for graph traversal response.
GraphPath
Internal shortest-path result.
InMemoryGraphStore
In-memory implementation of GraphStore. Nodes are keyed by id (globally unique); user/scope indexed for get_all_memory_items and search filtering.
MemoryEdge
Graph edge between two memory nodes.
MemoryNode
Internal memory node (id, memory, metadata, optional embedding).
VecSearchHit
Result of a vector search hit (id + score).

Enums§

GraphDirection
Traversal direction for graph neighbor query.
GraphStoreError

Traits§

GraphStore
Graph store abstraction (subset of MemOS BaseGraphDB).