Expand description
GraphForge shared identities, values, options, and facade errors.
Compiler, execution, storage, and domain crates consume these shared contracts.
Independent utility crates can define their own types without depending on core.
The public engine facade lives in graphforge-api, above the pipeline crates.
Stage and transport crates retain dedicated error types; relevant boundaries
classify errors for the facade and bindings.
Modules§
- algorithms
- Typed registry and stable logical result schemas for analyst algorithms.
- canonical
- Shared
graphforge-canonical/1envelope and byte primitives. - embedding_
options - Closed typed options for the four embedding-v1 analysis algorithms.
- hash_
observation - Optional process-wide SHA-256 work observation for engine diagnostics. SHA-256 with byte and elapsed-time observation during explicit captures.
- identifier
- Canonical graph identifier contract shared by every Rust surface.
- manifest
- Project manifest (
graphforge.yaml) — the entry point that describes a GraphForge project directory: its identity, ontology mode, and which capabilities are enabled. - portable
- Neutral portable package contracts. Neutral portable package contracts and sanitized lifecycle errors.
- storage_
receipt - Identity-free public storage receipts. Passive identity-free storage receipt contracts and arithmetic validation.
- uuid
- UUID generation, deterministic derivation, and Arrow/Parquet serialisation helpers.
Structs§
- Analyze
Options - Options for
GraphForge::analyze. - Bind
Error - A semantic error or warning produced by the binder.
- Cluster
Options - Options for
GraphForge::cluster. - Edge
Handle - Opaque handle to an edge created via
GraphForge::add_edge. - Find
Options - Options for
GraphForge::find. - Node
Handle - Opaque UUID handle to a node created by one GraphForge instance.
- Page
Rank Options - PageRank semantics. Omitted iterations use the existing convergence rule.
- Parse
Error - A structured parse error produced by
graphforge-cypher. - Paths
Options - Options for
GraphForge::paths. - PropId
- Opaque integer identifier for a property type.
- Rank
Options - Options for
GraphForge::rank. - Similar
Options - Options for
GraphForge::similar. - Span
- Byte-offset range in the original source text.
- Spatial
Type - Complete homogeneous spatial property type.
- Spatial
Value - One canonical typed spatial property value.
- Synchronous
Label Propagation Options - Deterministic synchronous label propagation, separate from the default asynchronous community optimizer. Returned labels are never renumbered.
- TypeId
- Opaque integer identifier for any ontology type (entity, relation, or property).
Enums§
- Algorithm
Error - Structured failures produced by Rust algorithm dispatch.
- ApiError
Code - Stable non-project knowledge/epistemic API error codes.
- Bind
Error Kind - The kind of a binder error.
- Clustering
Normalization - Definition of the local clustering coefficient.
- Explain
Stage - Which compiler stage to inspect through
graphforge_api::GraphForge::explain_stage. - GfError
- Shared error classifications used by the engine facade and bindings.
- Lowering
Error - Errors that can occur when lowering an IR expression to DataFusion.
- Node
Selector - Typed public node identity accepted by path algorithms.
- Ontology
Format - Serialisation format of an ontology definition file.
- Ontology
Mode - How the binder resolves unknown labels, relation types, and property names.
- Parse
Error Kind - The kind of parse error.
- Project
Error Code - Stable project-format and project-generation error codes.
- Prop
Value - A graph property value.
- Spatial
Coordinates - Canonical f64 coordinate payload for one spatial property value.
- Spatial
Crs - Coordinate reference systems certified by GraphForge’s spatial v1 profile.
- Spatial
Geometry Type - Homogeneous geometry kinds in GraphForge’s spatial v1 profile.
- Temporal
Value - Consumer-neutral temporal values accepted at GraphForge data boundaries.
- Unsupported
Cypher Feature - A specific unsupported Cypher construct, shared by compiler diagnostics.