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" : "29787",
"label" : "7"
},
{
"_key" : "I",
"_id" : "circles/I",
"_rev" : "29793",
"label" : "9"
},
{
"_key" : "A",
"_id" : "circles/A",
"_rev" : "29768",
"label" : "1"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "29784",
"label" : "6"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "29775",
"label" : "3"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "29781",
"label" : "5"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "29778",
"label" : "4"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "29796",
"label" : "10"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "29799",
"label" : "11"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "29772",
"label" : "2"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "29790",
"label" : "8"
}
]
arangosh> db.edges.toArray();
[
{
"_key" : "29809",
"_id" : "edges/29809",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "29809",
"label" : "left_blorg",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29830",
"_id" : "edges/29830",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "29830",
"label" : "right_zup",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29821",
"_id" : "edges/29821",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "29821",
"label" : "right_blob",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29812",
"_id" : "edges/29812",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "29812",
"label" : "left_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29806",
"_id" : "edges/29806",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "29806",
"label" : "left_blarg",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29818",
"_id" : "edges/29818",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "29818",
"label" : "right_foo",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29802",
"_id" : "edges/29802",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "29802",
"label" : "left_bar",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29815",
"_id" : "edges/29815",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "29815",
"label" : "left_schubi",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29824",
"_id" : "edges/29824",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "29824",
"label" : "right_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "29827",
"_id" : "edges/29827",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "29827",
"label" : "right_zip",
"theFalse" : false,
"theTruth" : true
}
]
arangosh> examples.dropGraph("traversalGraph");
true