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" : "_XiAwdhK--_",
"label" : "9"
},
{
"_key" : "G",
"_id" : "circles/G",
"_rev" : "_XiAwdhG--L",
"label" : "7"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "_XiAwdhG--J",
"label" : "6"
},
{
"_key" : "A",
"_id" : "circles/A",
"_rev" : "_XiAwdhG--_",
"label" : "1"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "_XiAwdhG--H",
"label" : "5"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "_XiAwdhG--D",
"label" : "3"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "_XiAwdhG--F",
"label" : "4"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "_XiAwdhK--B",
"label" : "10"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "_XiAwdhG--B",
"label" : "2"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "_XiAwdhG--N",
"label" : "8"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "_XiAwdhK--D",
"label" : "11"
}
]
arangosh> db.edges.toArray();
[
{
"_key" : "35789",
"_id" : "edges/35789",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "_XiAwdhK--J",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blorg"
},
{
"_key" : "35782",
"_id" : "edges/35782",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "_XiAwdhK--F",
"theFalse" : false,
"theTruth" : true,
"label" : "left_bar"
},
{
"_key" : "35810",
"_id" : "edges/35810",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "_XiAwdhO--H",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zup"
},
{
"_key" : "35807",
"_id" : "edges/35807",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "_XiAwdhO--F",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zip"
},
{
"_key" : "35801",
"_id" : "edges/35801",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "_XiAwdhO--B",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blob"
},
{
"_key" : "35804",
"_id" : "edges/35804",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "_XiAwdhO--D",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blub"
},
{
"_key" : "35792",
"_id" : "edges/35792",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "_XiAwdhK--L",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blub"
},
{
"_key" : "35795",
"_id" : "edges/35795",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "_XiAwdhK--N",
"theFalse" : false,
"theTruth" : true,
"label" : "left_schubi"
},
{
"_key" : "35786",
"_id" : "edges/35786",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "_XiAwdhK--H",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blarg"
},
{
"_key" : "35798",
"_id" : "edges/35798",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "_XiAwdhO--_",
"theFalse" : false,
"theTruth" : true,
"label" : "right_foo"
}
]
arangosh> examples.dropGraph("traversalGraph");
true