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" : "_ZXF6fP6---",
"label" : "1"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "_ZXF6fP6--A",
"label" : "2"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "_ZXF6fP6--C",
"label" : "3"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "_ZXF6fP6--E",
"label" : "4"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "_ZXF6fP6--G",
"label" : "5"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "_ZXF6fQ----",
"label" : "6"
},
{
"_key" : "G",
"_id" : "circles/G",
"_rev" : "_ZXF6fQ---A",
"label" : "7"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "_ZXF6fQ---C",
"label" : "8"
},
{
"_key" : "I",
"_id" : "circles/I",
"_rev" : "_ZXF6fQ---E",
"label" : "9"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "_ZXF6fQ---G",
"label" : "10"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "_ZXF6fQC---",
"label" : "11"
}
]
arangosh> db.edges.toArray();
[
{
"_key" : "87919",
"_id" : "edges/87919",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "_ZXF6fQC--A",
"theFalse" : false,
"theTruth" : true,
"label" : "left_bar"
},
{
"_key" : "87921",
"_id" : "edges/87921",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "_ZXF6fQC--C",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blarg"
},
{
"_key" : "87923",
"_id" : "edges/87923",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "_ZXF6fQC--E",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blorg"
},
{
"_key" : "87925",
"_id" : "edges/87925",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "_ZXF6fQG---",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blub"
},
{
"_key" : "87927",
"_id" : "edges/87927",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "_ZXF6fQG--A",
"theFalse" : false,
"theTruth" : true,
"label" : "left_schubi"
},
{
"_key" : "87929",
"_id" : "edges/87929",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "_ZXF6fQG--C",
"theFalse" : false,
"theTruth" : true,
"label" : "right_foo"
},
{
"_key" : "87931",
"_id" : "edges/87931",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "_ZXF6fQG--E",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blob"
},
{
"_key" : "87933",
"_id" : "edges/87933",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "_ZXF6fQG--G",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blub"
},
{
"_key" : "87935",
"_id" : "edges/87935",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "_ZXF6fQK---",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zip"
},
{
"_key" : "87937",
"_id" : "edges/87937",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "_ZXF6fQK--A",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zup"
}
]
arangosh> examples.dropGraph("traversalGraph");