arangosh> var examples = require("@arangodb/graph-examples/example-graph.js");
arangosh> var g = examples.loadGraph("traversalGraph");
arangosh> db.circles.toArray();
[
{
"_key" : "A",
"_id" : "circles/A",
"_rev" : "_ZG8LpJ6---",
"label" : "1"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "_ZG8LpK----",
"label" : "2"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "_ZG8LpK---A",
"label" : "3"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "_ZG8LpK---C",
"label" : "4"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "_ZG8LpKC---",
"label" : "5"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "_ZG8LpKC--A",
"label" : "6"
},
{
"_key" : "G",
"_id" : "circles/G",
"_rev" : "_ZG8LpKC--C",
"label" : "7"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "_ZG8LpKG---",
"label" : "8"
},
{
"_key" : "I",
"_id" : "circles/I",
"_rev" : "_ZG8LpKG--A",
"label" : "9"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "_ZG8LpKG--C",
"label" : "10"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "_ZG8LpKK---",
"label" : "11"
}
]
arangosh> db.edges.toArray();
[
{
"_key" : "87138",
"_id" : "edges/87138",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "_ZG8LpKK--A",
"theFalse" : false,
"theTruth" : true,
"label" : "left_bar"
},
{
"_key" : "87140",
"_id" : "edges/87140",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "_ZG8LpKK--C",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blarg"
},
{
"_key" : "87142",
"_id" : "edges/87142",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "_ZG8LpKO---",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blorg"
},
{
"_key" : "87144",
"_id" : "edges/87144",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "_ZG8LpKO--A",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blub"
},
{
"_key" : "87146",
"_id" : "edges/87146",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "_ZG8LpKO--C",
"theFalse" : false,
"theTruth" : true,
"label" : "left_schubi"
},
{
"_key" : "87148",
"_id" : "edges/87148",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "_ZG8LpKS---",
"theFalse" : false,
"theTruth" : true,
"label" : "right_foo"
},
{
"_key" : "87150",
"_id" : "edges/87150",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "_ZG8LpKS--A",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blob"
},
{
"_key" : "87152",
"_id" : "edges/87152",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "_ZG8LpKW---",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blub"
},
{
"_key" : "87154",
"_id" : "edges/87154",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "_ZG8LpKW--A",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zip"
},
{
"_key" : "87156",
"_id" : "edges/87156",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "_ZG8LpKW--C",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zup"
}
]
arangosh> examples.dropGraph("traversalGraph");