arangosh> var graph_module = require("@arangodb/general-graph"); arangosh> var edgeDefinitions = [ { collection: "edges", "from": [ "vertices" ], "to" : [ "vertices" ] } ]; arangosh> graph = graph_module._create("myGraph", edgeDefinitions); {[Graph] "edges" : [ArangoCollection 75096, "edges" (type edge, status loaded)], "vertices" : [ArangoCollection 75093, "vertices" (type document, status loaded)] }