Expand description
Graph sub-module — CachedGraphStore, persistent graph/activation/Hebbian, causal reasoning, and graph store trait.
Re-exports core graph types from hirn_graph::graph for backward compatibility.
Modules§
- cached_
graph_ store - Two-tier graph store: in-memory hot cache backed by persistent cold tier.
- causal
- Causal reasoning, trust scoring, and contradiction detection.
- graph_
store - F-003 FIX: Unified async graph store trait.
- persistent_
activation - Async spreading activation on
PersistentGraph. - persistent_
graph - LanceDB-backed persistent graph engine.
- persistent_
hebbian - Async Hebbian learning on
PersistentGraph.
Structs§
- Causal
Edge Data - Data carried only on causal edges — boxed to keep
GraphEdgesmall for the common non-causal case. - Connect
Builder - Builder for creating graph edges.
- Graph
Edge - A typed, weighted edge in the property graph.
- Graph
Node Data - Minimal node data for persistence.
- Graph
Snapshot - Serialized form for persisting all edges.
- Property
Graph - In-memory property graph backed by petgraph’s directed graph.
Enums§
- Causal
Direction - Causal direction for Rich CausalEdge.
Constants§
- MAX_
EDGES_ PER_ NODE - Maximum number of edges per node (fan-out cap). Prevents graph injection attacks where a malicious agent floods a node with edges.
- MAX_
EDGE_ METADATA_ BYTES - Maximum logical metadata payload allowed on a single edge. Enforced on insert to keep hot-tier graph memory bounded.
Functions§
Type Aliases§
- EdgeId
- A unique identifier for a graph edge.