Name of the graph.
Adds an edge definition to this graph.
Definition of a relation in this graph.
Adds the given collection to this graph as a vertex collection.
Collection to add to the graph.
Creates a graph with the given edgeDefinitions
and options
for this
graph's name.
Definitions for the relations of the graph.
Options for creating the graph.
Deletes the graph from the database.
If set to true
, the collections associated with
the graph will also be deleted.
Returns a GraphEdgeCollection instance for the given collection name representing the collection in this graph.
Type to use for document data. Defaults to any
.
Name of the edge collection.
Fetches all edge collections of this graph from the database and returns an array of GraphEdgeCollection instances.
See also Graph.listEdgeCollections.
Checks whether the graph exists.
Retrieves general information about the graph.
Fetches all edge collections of this graph from the database and returns an array of their names.
See also Graph.edgeCollections.
Fetches all vertex collections of this graph from the database and returns an array of their names.
See also Graph.vertexCollections.
Removes the edge definition for the given edge collection from this graph.
Edge collection for which to remove the definition.
If set to true
, the collection will also be
deleted from the database.
Removes the given collection from this graph as a vertex collection.
Collection to remove from the graph.
If set to true
, the collection will also be
deleted from the database.
Replaces an edge definition in this graph. The existing edge definition for the given edge collection will be overwritten.
Definition of a relation in this graph.
Replaces an edge definition in this graph. The existing edge definition for the given edge collection will be overwritten.
Edge collection for which to replace the definition.
Definition of a relation in this graph.
Performs a traversal starting from the given startVertex
and following
edges contained in this graph.
See also EdgeCollection.traversal.
Document _id
of a vertex in this graph.
Options for performing the traversal.
Returns a GraphVertexCollection instance for the given collection name representing the collection in this graph.
Type to use for document data. Defaults to any
.
Name of the vertex collection.
Fetches all vertex collections of this graph from the database and returns an array of GraphVertexCollection instances.
See also Graph.listVertexCollections.
Generated using TypeDoc
Represents a graph in a Database.