Skip to main content

Crate fabula_petgraph

Crate fabula_petgraph 

Source
Expand description

Petgraph adapter for fabula — wraps petgraph::StableGraph with temporal edges.

Petgraph has no native temporal support, so this adapter stores intervals as part of the edge weight. Queries filter by time at evaluation.

Structs§

NodeRef
Wrapper to distinguish node references from other values. Used with From<NodeRef<N>> to convert node IDs into values.
PetTemporalGraph
A temporal graph backed by petgraph::StableGraph.
TemporalEdge
A temporal edge weight — bundles a label, value, and validity interval onto a petgraph edge.

Enums§

PetValue
A value type for the petgraph adapter that can hold node references or literals.