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" : "29579",
"label" : "7"
},
{
"_key" : "I",
"_id" : "circles/I",
"_rev" : "29585",
"label" : "9"
},
{
"_key" : "A",
"_id" : "circles/A",
"_rev" : "29560",
"label" : "1"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "29576",
"label" : "6"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "29567",
"label" : "3"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "29573",
"label" : "5"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "29570",
"label" : "4"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "29588",
"label" : "10"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "29591",
"label" : "11"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "29564",
"label" : "2"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "29582",
"label" : "8"
}
]
arangosh> db.edges.toArray();
[
{
"_key" : "29610",
"_id" : "edges/29610",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "29610",
"label" : "right_foo",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29601",
"_id" : "edges/29601",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "29601",
"label" : "left_blorg",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29616",
"_id" : "edges/29616",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "29616",
"label" : "right_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29604",
"_id" : "edges/29604",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "29604",
"label" : "left_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29622",
"_id" : "edges/29622",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "29622",
"label" : "right_zup",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29594",
"_id" : "edges/29594",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "29594",
"label" : "left_bar",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29607",
"_id" : "edges/29607",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "29607",
"label" : "left_schubi",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29613",
"_id" : "edges/29613",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "29613",
"label" : "right_blob",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29619",
"_id" : "edges/29619",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "29619",
"label" : "right_zip",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29598",
"_id" : "edges/29598",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "29598",
"label" : "left_blarg",
"theFalse" : false,
"theTruth" : true
}
]
arangosh> examples.dropGraph("traversalGraph");
true