1
0
Fork 0

fixed graph examples

This commit is contained in:
Jan Steemann 2015-04-20 16:51:16 +02:00
parent acc1f8438c
commit 10b3ffb877
1 changed files with 2 additions and 2 deletions

View File

@ -1712,7 +1712,7 @@ var sortEdgeDefinition = function(edgeDefinition) {
/// @EXAMPLE_ARANGOSH_OUTPUT{generalGraphCreateGraph2}
/// var graph_module = require("org/arangodb/general-graph");
/// | graph = graph_module._create("myGraph",
/// [graph_module._relation("myRelation", ["male", "female"])], ["sessions"]);
/// [graph_module._relation("myRelation", ["male", "female"], ["male", "female"])], ["sessions"]);
/// ~ graph_module._drop("myGraph", true);
/// @END_EXAMPLE_ARANGOSH_OUTPUT
///
@ -4666,7 +4666,7 @@ exports._listObjects = _listObjects;
/// @EXAMPLE_ARANGOSH_OUTPUT{general_graph_create_graph_example2}
/// var graph_module = require("org/arangodb/general-graph");
/// | var edgeDefinitions = graph_module._edgeDefinitions(
/// | graph_module._relation("friend_of", ["Customer"]), graph_module._relation(
/// | graph_module._relation("friend_of", ["Customer"], ["Customer"]), graph_module._relation(
/// "has_bought", ["Customer", "Company"], ["Groceries", "Electronics"]));
/// graph_module._create("myStore", edgeDefinitions);
/// ~ graph_module._drop("myStore");