getAllEdges method

  1. @override
List<EpitaphEdge> getAllEdges()
override

Returns a list of all edges in graph.

Implementation

@override
List<EpitaphEdge> getAllEdges() {
  List<EpitaphEdge> tmp = [];
  for (var element in graph.values) {
    tmp.addAll(element);
  }

  return tmp;
}