Skip to main content

Crate graphforge_core

Crate graphforge_core 

Source
Expand description

GraphForge core — public error type, span, and shared value model.

This is the foundation crate: every other graphforge-* crate depends on it. The GraphForge engine facade lives in the top-level graphforge-api crate (it needs the pipeline crates, which depend on graphforge-core — so it cannot live here without a cycle; see #716).

Modules§

algorithms
Typed registry and stable logical result schemas for analyst algorithms.
canonical
Shared graphforge-canonical/1 envelope and byte primitives.
embedding_options
Closed typed options for the four embedding-v1 analysis algorithms.
manifest
Project manifest (graphforge.yaml) — the entry point that describes a GraphForge project directory: its identity, ontology mode, and which capabilities are enabled.
uuid
UUIDv7 generation and Arrow/Parquet serialisation helpers.

Structs§

AnalyzeOptions
Options for GraphForge::analyze.
ClusterOptions
Options for GraphForge::cluster.
EdgeHandle
Opaque handle to an edge created via GraphForge::add_edge.
FindOptions
Options for GraphForge::find.
NodeHandle
Opaque UUID handle to a node created by one GraphForge instance.
PathsOptions
Options for GraphForge::paths.
PropId
Opaque integer identifier for a property type.
RankOptions
Options for GraphForge::rank.
SimilarOptions
Options for GraphForge::similar.
Span
Byte-offset range in the original source text.
TypeId
Opaque integer identifier for any ontology type (entity, relation, or property).

Enums§

ApiErrorCode
Stable non-project M20/M21 API error codes.
ExplainStage
Which compiler stage to inspect with graphforge_cypher::explain_stage.
GfError
All errors produced by GraphForge.
NodeSelector
Typed public node identity accepted by path algorithms.
OntologyFormat
Serialisation format of an ontology definition file.
OntologyMode
How the binder resolves unknown labels, relation types, and property names.
ProjectErrorCode
Stable project-format and project-generation error codes.
PropValue
A graph property value.