arangosh> var examples = require("@arangodb/graph-examples/example-graph.js");
arangosh> var graph = examples.loadGraph("social");
arangosh> graph._edges().toArray();
[
{
"_key" : "aliceAndBob",
"_id" : "relation/aliceAndBob",
"_from" : "female/alice",
"_to" : "male/bob",
"_rev" : "19195",
"type" : "married"
},
{
"_key" : "aliceAndCharly",
"_id" : "relation/aliceAndCharly",
"_from" : "female/alice",
"_to" : "male/charly",
"_rev" : "19199",
"type" : "friend"
},
{
"_key" : "bobAndDiana",
"_id" : "relation/bobAndDiana",
"_from" : "male/bob",
"_to" : "female/diana",
"_rev" : "19205",
"type" : "friend"
},
{
"_key" : "charlyAndDiana",
"_id" : "relation/charlyAndDiana",
"_from" : "male/charly",
"_to" : "female/diana",
"_rev" : "19202",
"type" : "married"
}
]