arangosh> var examples = require("@arangodb/graph-examples/example-graph.js");
arangosh> var g = examples.loadGraph("traversalGraph");
arangosh> db.circles.toArray();
[
{
"_key" : "I",
"_id" : "circles/I",
"_rev" : "_XBu2S6y--D",
"label" : "9"
},
{
"_key" : "G",
"_id" : "circles/G",
"_rev" : "_XBu2S6y--_",
"label" : "7"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "_XBu2S6u--J",
"label" : "6"
},
{
"_key" : "A",
"_id" : "circles/A",
"_rev" : "_XBu2S6u--_",
"label" : "1"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "_XBu2S6u--H",
"label" : "5"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "_XBu2S6u--D",
"label" : "3"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "_XBu2S6u--F",
"label" : "4"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "_XBu2S6y--F",
"label" : "10"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "_XBu2S6u--B",
"label" : "2"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "_XBu2S6y--B",
"label" : "8"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "_XBu2S6y--H",
"label" : "11"
}
]
arangosh> db.edges.toArray();
[
{
"_key" : "35811",
"_id" : "edges/35811",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "_XBu2S6y--N",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blorg"
},
{
"_key" : "35826",
"_id" : "edges/35826",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "_XBu2S62--H",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blub"
},
{
"_key" : "35808",
"_id" : "edges/35808",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "_XBu2S6y--L",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blarg"
},
{
"_key" : "35823",
"_id" : "edges/35823",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "_XBu2S62--F",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blob"
},
{
"_key" : "35814",
"_id" : "edges/35814",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "_XBu2S62--_",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blub"
},
{
"_key" : "35817",
"_id" : "edges/35817",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "_XBu2S62--B",
"theFalse" : false,
"theTruth" : true,
"label" : "left_schubi"
},
{
"_key" : "35832",
"_id" : "edges/35832",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "_XBu2S62--L",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zup"
},
{
"_key" : "35820",
"_id" : "edges/35820",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "_XBu2S62--D",
"theFalse" : false,
"theTruth" : true,
"label" : "right_foo"
},
{
"_key" : "35804",
"_id" : "edges/35804",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "_XBu2S6y--J",
"theFalse" : false,
"theTruth" : true,
"label" : "left_bar"
},
{
"_key" : "35829",
"_id" : "edges/35829",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "_XBu2S62--J",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zip"
}
]
arangosh> examples.dropGraph("traversalGraph");
true