Skip to main content

kyma_graph/
lib.rs

1//! First-class property-graph layer for kyma: wire types, the `GraphProvider`
2//! trait, and the synthetic schema-graph provider (catalog → property-graph).
3//!
4//! This crate is intentionally decoupled from `kyma-core`: it consumes a
5//! narrow [`SchemaSource`] trait rather than the full catalog, so providers
6//! are unit-testable without a database.
7
8pub mod executor;
9pub mod provider;
10pub mod schema_graph;
11pub mod source;
12pub mod stored_graph;
13pub mod types;
14
15pub use executor::{GraphQueryExecutor, JsonRow, StoredGraphConfig};
16pub use provider::GraphProvider;
17pub use schema_graph::SchemaGraphProvider;
18pub use stored_graph::StoredGraphProvider;
19pub use source::{ColumnDef, SchemaSource};
20pub use types::{
21    Direction, EdgeExpansion, GraphNode, GraphPayload, GraphRef, GraphRelationship,
22    GraphSchema, GraphStats, NodeMetadata, Props, SearchHits,
23};