PregelEx.Builder (PregelEx v0.1.3)
View SourceSummary
Functions
Adds an edge between two vertices in the builder.
Adds a vertex to the builder.
Initializes a new graph builder with the given name.
Creates the graph using the builder's properties.
Types
Functions
Adds an edge between two vertices in the builder.
Validation
- Both vertices must exist in the builder.
@spec add_vertex({:ok, t()}, String.t(), (map() -> map()), keyword()) :: {:ok, t()} | {:error, String.t()}
Adds a vertex to the builder.
Validation
- The vertex must have a unique name.
Initializes a new graph builder with the given name.
Creates the graph using the builder's properties.