Expand description
ISONGraph - A Token-Efficient Graph Store for Rust
A property graph implementation with ISON persistence. Supports multi-hop traversal, path finding, and fluent API.
§Example
use ison_graph::{ISONGraph, NodeRef, Direction};
let mut graph = ISONGraph::new("social");
graph.add_node("person", "1", vec![("name", "Alice"), ("age", "30")]).unwrap();
graph.add_node("person", "2", vec![("name", "Bob"), ("age", "25")]).unwrap();
graph.add_edge("KNOWS", ("person", "1"), ("person", "2"), vec![("since", "2020")]).unwrap();
let friends = graph.neighbors(&("person", "1"), Some("KNOWS"), Direction::Out);
let fof = graph.multi_hop(&("person", "1"), Some("KNOWS"), 2, Direction::Out);Modules§
- query
- ISONQL - Pure Property Graph Query Language for ISONGraph (Rust)
- schema
- ISONGraph Schema Validation Module
Structs§
- Edge
- Represents a graph edge with properties
- Graph
Traversal - Fluent API for graph traversal
- ISON
Graph - In-memory property graph store with ISON persistence.
- Node
- Represents a graph node with properties
- NodeId
- Owned node reference
- Path
- Represents a path through the graph
Enums§
- Direction
- Traversal direction
- Graph
Error
Constants§
- VERSION
- Version of the library