arangosh> var graph_module = require("org/arangodb/general-graph"); arangosh> var edgeDefinitions = graph_module._edgeDefinitions( ........> graph_module._relation("friend_of", ["Customer"], ["Customer"]), graph_module._relation( ........> "has_bought", ["Customer", "Company"], ["Groceries", "Electronics"])); arangosh> graph_module._create("myStore", edgeDefinitions); [ Graph myStore EdgeDefinitions: [ "friend_of: [Customer] -> [Customer]", "has_bought: [Company, Customer] -> [Electronics, Groceries]" ] VertexCollections: [ ] ]