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" : "_XoI7F7S--B",
"label" : "9"
},
{
"_key" : "G",
"_id" : "circles/G",
"_rev" : "_XoI7F7O--D",
"label" : "7"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "_XoI7F7O--B",
"label" : "6"
},
{
"_key" : "A",
"_id" : "circles/A",
"_rev" : "_XoI7F7G--_",
"label" : "1"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "_XoI7F7O--_",
"label" : "5"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "_XoI7F7K--_",
"label" : "3"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "_XoI7F7K--B",
"label" : "4"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "_XoI7F7S--D",
"label" : "10"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "_XoI7F7G--B",
"label" : "2"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "_XoI7F7S--_",
"label" : "8"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "_XoI7F7W--_",
"label" : "11"
}
]
arangosh> db.edges.toArray();
[
{
"_key" : "131453",
"_id" : "edges/131453",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "_XoI7F7i--_",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zip"
},
{
"_key" : "131438",
"_id" : "edges/131438",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "_XoI7F7a--B",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blub"
},
{
"_key" : "131435",
"_id" : "edges/131435",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "_XoI7F7a--_",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blorg"
},
{
"_key" : "131441",
"_id" : "edges/131441",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "_XoI7F7a--D",
"theFalse" : false,
"theTruth" : true,
"label" : "left_schubi"
},
{
"_key" : "131432",
"_id" : "edges/131432",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "_XoI7F7W--D",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blarg"
},
{
"_key" : "131428",
"_id" : "edges/131428",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "_XoI7F7W--B",
"theFalse" : false,
"theTruth" : true,
"label" : "left_bar"
},
{
"_key" : "131444",
"_id" : "edges/131444",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "_XoI7F7e--_",
"theFalse" : false,
"theTruth" : true,
"label" : "right_foo"
},
{
"_key" : "131456",
"_id" : "edges/131456",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "_XoI7F7i--B",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zup"
},
{
"_key" : "131450",
"_id" : "edges/131450",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "_XoI7F7e--D",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blub"
},
{
"_key" : "131447",
"_id" : "edges/131447",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "_XoI7F7e--B",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blob"
}
]
arangosh> examples.dropGraph("traversalGraph");