``` given: Graph graph = graph { type: 'weighted-directed-graph' edge('A', 'B') { weight = 0 } edge('B', 'A') { weight = 0 } } def edges = graph.edges expect: edges.size() == 2 ```