1
0
Fork 0
arangodb/Documentation/Examples/generalGraphCreateGraph2.ge...

9 lines
351 B
Plaintext

arangosh> var graph_module = require("org/arangodb/general-graph");
arangosh> graph = graph_module._create("myGraph",
........> [graph_module._relation("myRelation", ["male", "female"], ["male", "female"])], ["sessions"]);
[ Graph myGraph EdgeDefinitions: [
"myRelation: [female, male] -> [female, male]"
] VertexCollections: [
"sessions"
] ]