arangosh> var examples = require("@arangodb/graph-examples/example-graph.js");
arangosh> var g = examples.loadGraph("traversalGraph");
arangosh> db.circles.toArray();
[
{
"_key" : "I",
"_id" : "circles/I",
"_rev" : "_XGhAGSa--_",
"label" : "9"
},
{
"_key" : "G",
"_id" : "circles/G",
"_rev" : "_XGhAGSS--_",
"label" : "7"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "_XGhAGSO--_",
"label" : "6"
},
{
"_key" : "A",
"_id" : "circles/A",
"_rev" : "_XGhAGR6--_",
"label" : "1"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "_XGhAGSK--_",
"label" : "5"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "_XGhAGSC--_",
"label" : "3"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "_XGhAGSG--_",
"label" : "4"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "_XGhAGSa--B",
"label" : "10"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "_XGhAGS---_",
"label" : "2"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "_XGhAGSW--_",
"label" : "8"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "_XGhAGSe--_",
"label" : "11"
}
]
arangosh> db.edges.toArray();
[
{
"_key" : "38201",
"_id" : "edges/38201",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "_XGhAGSi--_",
"theFalse" : false,
"theTruth" : true,
"label" : "left_bar"
},
{
"_key" : "38208",
"_id" : "edges/38208",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "_XGhAGSq--_",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blorg"
},
{
"_key" : "38220",
"_id" : "edges/38220",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "_XGhAGS2--_",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blob"
},
{
"_key" : "38217",
"_id" : "edges/38217",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "_XGhAGSy--_",
"theFalse" : false,
"theTruth" : true,
"label" : "right_foo"
},
{
"_key" : "38226",
"_id" : "edges/38226",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "_XGhAGT---_",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zip"
},
{
"_key" : "38214",
"_id" : "edges/38214",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "_XGhAGSu--B",
"theFalse" : false,
"theTruth" : true,
"label" : "left_schubi"
},
{
"_key" : "38223",
"_id" : "edges/38223",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "_XGhAGS6--_",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blub"
},
{
"_key" : "38205",
"_id" : "edges/38205",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "_XGhAGSm--_",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blarg"
},
{
"_key" : "38211",
"_id" : "edges/38211",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "_XGhAGSu--_",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blub"
},
{
"_key" : "38229",
"_id" : "edges/38229",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "_XGhAGTC--_",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zup"
}
]
arangosh> examples.dropGraph("traversalGraph");
true