Expand description
§Module: Graph
§Responsibility
Provides an in-memory knowledge graph with typed entities and relationships.
Mirrors the public API of mem-graph.
§Guarantees
- Thread-safe:
GraphStorewraps state inArc<Mutex<_>> - BFS/DFS traversal and shortest-path are correct for directed graphs
- Non-panicking: all operations return
Result
§NOT Responsible For
- Persistence to disk or external store
- Graph sharding / distributed graphs
Structs§
- Entity
- A node in the knowledge graph.
- Entity
Id - Stable identifier for a graph entity.
- Graph
Store - In-memory knowledge graph supporting entities, relationships, BFS/DFS, shortest-path, weighted shortest-path, and graph analytics.
- Relationship
- A directed, typed edge between two entities.
Enums§
- MemGraph
Error - Graph-specific errors, mirrors
mem-graph::MemGraphError.