Crate graph_api_lib
SourceStructs§
- Edge
Search - A search to apply to edges when querying a graph. This allows graph implementations to support vertex centric indexes. In the future, this will be expanded to support more complex filters than just label and direction.
- Edge
Walker Builder - A builder for edge-focused graph traversals.
- Value
Range - A range of Values for range-based queries and indexes.
- Vertex
Walker Builder - A builder for vertex-focused graph traversals.
- Walker
Builder - A generic builder for graph walkers.
Enums§
- Direction
- The direction of an edge in a graph.
- Element
Id - An identifier for a vertex or an edge in a graph.
- Index
Type - The type of index
- Value
- A polymorphic value type for graph element properties.
- Vertex
Search - A search to apply to vertices when querying a graph.
Traits§
- Edge
Reference - A reference to an edge in a graph.
- Edge
Reference Mut - A mutable reference to an edge in a graph.
This trait extends the
EdgeReference
trait and provides a method to obtain a mutable reference to the weight of the edge. - Edge
Walker - Trait for walking over edges in a graph.
- Element
- An element in a graph. This is either an edge or a vertex.
- Graph
- Graphs that implement this trait can be used with the walker API.
- Index
- An Index is a fast lookup mechanism for graph elements.
- Label
- A label for an
Element
. This can be either a vertex or an edge. - Mutation
Listener - Trait to allow graphs to react to mutation of elements. When an indexed element is updated the mutation listener is called with the index and the before and after values.
- Project
- Enables projecting a graph element weight to a specific type.
- Project
Mut - Enables projecting a graph element weight to a mutable specific type.
- Supports
Clear - Supports clearing all vertices and edges
- Supports
Edge Adjacent Label Index - Supports indexing of edges by adjacent vertex label
- Supports
Edge Hash Index - Supports indexing of edges by field using a hash index
- Supports
Edge Label Index - Supports indexing of edges by label
- Supports
Edge Range Index - Supports indexing of edges by field with range queries
- Supports
Vertex Full Text Index - Supports indexing of vertices by field using a full text index
- Supports
Vertex Hash Index - Supports indexing of vertices by field using a hash index
- Supports
Vertex Label Index - Supports indexing of vertices by label
- Supports
Vertex Range Index - Supports indexing of vertices by field with range queries
- Vertex
Reference - Vertex
Reference Mut - Vertex
Walker - A trait that defines the basic behavior of a vertex walker, which is a specialized type of graph walker that focuses on traversing and exploring the vertices in a graph.
- Walker
- A trait that defines the basic behavior of a graph walker.