grafeo-core 0.5.36

Core graph models, indexes, and execution primitives for Grafeo
Documentation
//! Labeled Property Graph (LPG) storage.
//!
//! This is Grafeo's primary graph model - the same model used by Neo4j,
//! TigerGraph, and most modern graph databases. If you're used to working
//! with nodes, relationships, and properties, you're in the right place.
//!
//! ## What you get
//!
//! - **Nodes** with labels (like "Person", "Company") and properties (like "name", "age")
//! - **Edges** that connect nodes, with types (like "KNOWS", "WORKS_AT") and their own properties
//! - **Indexes** that make lookups fast
//!
//! Start with [`LpgStore`] - that's where everything lives.

pub(crate) mod block;
mod edge;
mod node;
pub mod overlay;
mod property;
#[cfg(feature = "lpg")]
pub mod section;
#[cfg(feature = "lpg")]
mod store;

// Types are always available (used by GraphStore trait and RDF adapter)
pub use edge::{Edge, EdgeFlags, EdgeRecord};
pub use node::{Node, NodeFlags, NodeRecord};
pub use property::{CompareOp, PropertyStorage};

// Store and section require the lpg feature
#[cfg(feature = "lpg")]
pub use section::LpgStoreSection;
#[cfg(feature = "lpg")]
pub use store::{LpgStore, PropertyUndoEntry};