arangosh> var examples = require("@arangodb/graph-examples/example-graph.js");
arangosh> var g = examples.loadGraph("traversalGraph");
arangosh> db.circles.toArray();
[
{
"_id" : "circles/E",
"_key" : "E",
"_rev" : "1412146450",
"label" : "5"
},
{
"_id" : "circles/F",
"_key" : "F",
"_rev" : "1412343058",
"label" : "6"
},
{
"_id" : "circles/C",
"_key" : "C",
"_rev" : "1411753234",
"label" : "3"
},
{
"_id" : "circles/K",
"_key" : "K",
"_rev" : "1413326098",
"label" : "11"
},
{
"_id" : "circles/D",
"_key" : "D",
"_rev" : "1411949842",
"label" : "4"
},
{
"_id" : "circles/I",
"_key" : "I",
"_rev" : "1412932882",
"label" : "9"
},
{
"_id" : "circles/A",
"_key" : "A",
"_rev" : "1411360018",
"label" : "1"
},
{
"_id" : "circles/B",
"_key" : "B",
"_rev" : "1411556626",
"label" : "2"
},
{
"_id" : "circles/J",
"_key" : "J",
"_rev" : "1413129490",
"label" : "10"
},
{
"_id" : "circles/G",
"_key" : "G",
"_rev" : "1412539666",
"label" : "7"
},
{
"_id" : "circles/H",
"_key" : "H",
"_rev" : "1412736274",
"label" : "8"
}
]
arangosh> db.edges.toArray();
[
{
"_from" : "circles/B",
"_id" : "edges/1413981458",
"_key" : "1413981458",
"_rev" : "1413981458",
"_to" : "circles/C",
"label" : "left_blarg",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/H",
"_id" : "edges/1415161106",
"_key" : "1415161106",
"_rev" : "1415161106",
"_to" : "circles/I",
"label" : "right_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/C",
"_id" : "edges/1414178066",
"_key" : "1414178066",
"_rev" : "1414178066",
"_to" : "circles/D",
"label" : "left_blorg",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/E",
"_id" : "edges/1414571282",
"_key" : "1414571282",
"_rev" : "1414571282",
"_to" : "circles/F",
"label" : "left_schubi",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/J",
"_id" : "edges/1415554322",
"_key" : "1415554322",
"_rev" : "1415554322",
"_to" : "circles/K",
"label" : "right_zup",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/G",
"_id" : "edges/1415357714",
"_key" : "1415357714",
"_rev" : "1415357714",
"_to" : "circles/J",
"label" : "right_zip",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/B",
"_id" : "edges/1414374674",
"_key" : "1414374674",
"_rev" : "1414374674",
"_to" : "circles/E",
"label" : "left_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/A",
"_id" : "edges/1413784850",
"_key" : "1413784850",
"_rev" : "1413784850",
"_to" : "circles/B",
"label" : "left_bar",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/A",
"_id" : "edges/1414767890",
"_key" : "1414767890",
"_rev" : "1414767890",
"_to" : "circles/G",
"label" : "right_foo",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/G",
"_id" : "edges/1414964498",
"_key" : "1414964498",
"_rev" : "1414964498",
"_to" : "circles/H",
"label" : "right_blob",
"theFalse" : false,
"theTruth" : true
}
]
arangosh> examples.dropGraph("traversalGraph");
true