Accessing graphs

These functions implement the HTTP API for accessing general graphs.

ArangoDatabase.graph

ArangoDatabase.graph(String name) : ArangoGraph

Returns a ArangoGraph instance for the given graph name.

Arguments

  • name: String

    Name of the graph

Examples

ArangoDB arango = new ArangoDB.Builder().build();
ArangoDatabase db = arango.db("myDB");
ArangoGraph graph = db.graph("myGraph");