How to get entire Graph in ArangoDB?

80 Views Asked by At

Using arangojs ArangoDB driver.

const db = new Database();
const graph = db.graph("some-graph");
const data = await graph.get();
// data only contains general information about the graph

How to get entire graph, including data nodes and edges, as JSON ?

1

There are 1 best solutions below

1
David Thomas On

Try the tutorial where you issue a traversal query and get the results.