arangosh> var examples = require("@arangodb/graph-examples/example-graph.js"); arangosh> var graph = examples.loadGraph("social"); arangosh> var query = graph._vertices([{name: "Alice"}, {name: "Bob"}]); arangosh> query.edges().toArray(); [ { "_key" : "aliceAndBob", "_id" : "relation/aliceAndBob", "_from" : "female/alice", "_to" : "male/bob", "_rev" : "19411", "type" : "married" }, { "_key" : "aliceAndCharly", "_id" : "relation/aliceAndCharly", "_from" : "female/alice", "_to" : "male/charly", "_rev" : "19415", "type" : "friend" }, { "_key" : "bobAndDiana", "_id" : "relation/bobAndDiana", "_from" : "male/bob", "_to" : "female/diana", "_rev" : "19421", "type" : "friend" }, { "_key" : "aliceAndBob", "_id" : "relation/aliceAndBob", "_from" : "female/alice", "_to" : "male/bob", "_rev" : "19411", "type" : "married" } ]