arangosh> var examples = require("@arangodb/graph-examples/example-graph.js");
arangosh> var g = examples.loadGraph("traversalGraph");
arangosh> db.circles.toArray();
[
{
"_key" : "G",
"_id" : "circles/G",
"_rev" : "29748",
"label" : "7"
},
{
"_key" : "I",
"_id" : "circles/I",
"_rev" : "29754",
"label" : "9"
},
{
"_key" : "A",
"_id" : "circles/A",
"_rev" : "29729",
"label" : "1"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "29745",
"label" : "6"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "29736",
"label" : "3"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "29742",
"label" : "5"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "29739",
"label" : "4"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "29757",
"label" : "10"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "29760",
"label" : "11"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "29733",
"label" : "2"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "29751",
"label" : "8"
}
]
arangosh> db.edges.toArray();
[
{
"_key" : "29770",
"_id" : "edges/29770",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "29770",
"label" : "left_blorg",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29791",
"_id" : "edges/29791",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "29791",
"label" : "right_zup",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29776",
"_id" : "edges/29776",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "29776",
"label" : "left_schubi",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29779",
"_id" : "edges/29779",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "29779",
"label" : "right_foo",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29773",
"_id" : "edges/29773",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "29773",
"label" : "left_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29782",
"_id" : "edges/29782",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "29782",
"label" : "right_blob",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29763",
"_id" : "edges/29763",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "29763",
"label" : "left_bar",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29785",
"_id" : "edges/29785",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "29785",
"label" : "right_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29788",
"_id" : "edges/29788",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "29788",
"label" : "right_zip",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29767",
"_id" : "edges/29767",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "29767",
"label" : "left_blarg",
"theFalse" : false,
"theTruth" : true
}
]
arangosh> examples.dropGraph("traversalGraph");
true