arangosh> var graph_module = require("@arangodb/general-graph"); arangosh> graph_module._undirectedRelation("marriage", ["female", "male"]); { "collection" : "marriage", "from" : [ "female", "male" ], "to" : [ "female", "male" ] }