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" : "1414155848",
"label" : "5"
},
{
"_id" : "circles/F",
"_key" : "F",
"_rev" : "1414352456",
"label" : "6"
},
{
"_id" : "circles/C",
"_key" : "C",
"_rev" : "1413762632",
"label" : "3"
},
{
"_id" : "circles/K",
"_key" : "K",
"_rev" : "1415335496",
"label" : "11"
},
{
"_id" : "circles/D",
"_key" : "D",
"_rev" : "1413959240",
"label" : "4"
},
{
"_id" : "circles/I",
"_key" : "I",
"_rev" : "1414942280",
"label" : "9"
},
{
"_id" : "circles/A",
"_key" : "A",
"_rev" : "1413369416",
"label" : "1"
},
{
"_id" : "circles/B",
"_key" : "B",
"_rev" : "1413566024",
"label" : "2"
},
{
"_id" : "circles/J",
"_key" : "J",
"_rev" : "1415138888",
"label" : "10"
},
{
"_id" : "circles/G",
"_key" : "G",
"_rev" : "1414549064",
"label" : "7"
},
{
"_id" : "circles/H",
"_key" : "H",
"_rev" : "1414745672",
"label" : "8"
}
]
arangosh> db.edges.toArray();
[
{
"_from" : "circles/E",
"_id" : "edges/1416580680",
"_key" : "1416580680",
"_rev" : "1416580680",
"_to" : "circles/F",
"label" : "left_schubi",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/H",
"_id" : "edges/1417170504",
"_key" : "1417170504",
"_rev" : "1417170504",
"_to" : "circles/I",
"label" : "right_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/G",
"_id" : "edges/1416973896",
"_key" : "1416973896",
"_rev" : "1416973896",
"_to" : "circles/H",
"label" : "right_blob",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/J",
"_id" : "edges/1417563720",
"_key" : "1417563720",
"_rev" : "1417563720",
"_to" : "circles/K",
"label" : "right_zup",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/B",
"_id" : "edges/1415990856",
"_key" : "1415990856",
"_rev" : "1415990856",
"_to" : "circles/C",
"label" : "left_blarg",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/A",
"_id" : "edges/1415794248",
"_key" : "1415794248",
"_rev" : "1415794248",
"_to" : "circles/B",
"label" : "left_bar",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/A",
"_id" : "edges/1416777288",
"_key" : "1416777288",
"_rev" : "1416777288",
"_to" : "circles/G",
"label" : "right_foo",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/B",
"_id" : "edges/1416384072",
"_key" : "1416384072",
"_rev" : "1416384072",
"_to" : "circles/E",
"label" : "left_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/G",
"_id" : "edges/1417367112",
"_key" : "1417367112",
"_rev" : "1417367112",
"_to" : "circles/J",
"label" : "right_zip",
"theFalse" : false,
"theTruth" : true
},
{
"_from" : "circles/C",
"_id" : "edges/1416187464",
"_key" : "1416187464",
"_rev" : "1416187464",
"_to" : "circles/D",
"label" : "left_blorg",
"theFalse" : false,
"theTruth" : true
}
]
arangosh> examples.dropGraph("traversalGraph");
true