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" : "36068",
"label" : "7"
},
{
"_key" : "I",
"_id" : "circles/I",
"_rev" : "36074",
"label" : "9"
},
{
"_key" : "A",
"_id" : "circles/A",
"_rev" : "36049",
"label" : "1"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "36065",
"label" : "6"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "36056",
"label" : "3"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "36062",
"label" : "5"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "36059",
"label" : "4"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "36077",
"label" : "10"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "36080",
"label" : "11"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "36053",
"label" : "2"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "36071",
"label" : "8"
}
]
arangosh> db.edges.toArray();
[
{
"_key" : "36096",
"_id" : "edges/36096",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "36096",
"label" : "left_schubi",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "36087",
"_id" : "edges/36087",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "36087",
"label" : "left_blarg",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "36093",
"_id" : "edges/36093",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "36093",
"label" : "left_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "36108",
"_id" : "edges/36108",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "36108",
"label" : "right_zip",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "36105",
"_id" : "edges/36105",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "36105",
"label" : "right_blub",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "36090",
"_id" : "edges/36090",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "36090",
"label" : "left_blorg",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "36102",
"_id" : "edges/36102",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "36102",
"label" : "right_blob",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "36111",
"_id" : "edges/36111",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "36111",
"label" : "right_zup",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "36083",
"_id" : "edges/36083",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "36083",
"label" : "left_bar",
"theFalse" : false,
"theTruth" : true
},
{
"_key" : "36099",
"_id" : "edges/36099",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "36099",
"label" : "right_foo",
"theFalse" : false,
"theTruth" : true
}
]
arangosh> examples.dropGraph("traversalGraph");
true