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" : "29553",
"label" : "7"
},
{
"_key" : "I",
"_id" : "circles/I",
"_rev" : "29559",
"label" : "9"
},
{
"_key" : "A",
"_id" : "circles/A",
"_rev" : "29534",
"label" : "1"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "29550",
"label" : "6"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "29541",
"label" : "3"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "29547",
"label" : "5"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "29544",
"label" : "4"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "29562",
"label" : "10"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "29565",
"label" : "11"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "29538",
"label" : "2"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "29556",
"label" : "8"
}
]
arangosh> db.edges.toArray();
[
{
"_key" : "29587",
"_id" : "edges/29587",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "29587",
"label" : "right_blob",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29575",
"_id" : "edges/29575",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "29575",
"label" : "left_blorg",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29581",
"_id" : "edges/29581",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "29581",
"label" : "left_schubi",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29596",
"_id" : "edges/29596",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "29596",
"label" : "right_zup",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29593",
"_id" : "edges/29593",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "29593",
"label" : "right_zip",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29578",
"_id" : "edges/29578",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "29578",
"label" : "left_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29572",
"_id" : "edges/29572",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "29572",
"label" : "left_blarg",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29590",
"_id" : "edges/29590",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "29590",
"label" : "right_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29568",
"_id" : "edges/29568",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "29568",
"label" : "left_bar",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29584",
"_id" : "edges/29584",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "29584",
"label" : "right_foo",
"theFalse" : false,
"theTruth" : true
}
]
arangosh> examples.dropGraph("traversalGraph");
true