getOutgoingEdges method

  1. @override
List<UndirectedEdge> getOutgoingEdges(
  1. Vertex vertex
)
override

Gets all neighboring edges of a vertex

Implementation

@override
List<UndirectedEdge> getOutgoingEdges(Vertex vertex) {
  List<UndirectedEdge> found = [];
  found.addAll(graph[getVertex(vertex)] as List<UndirectedEdge>);
  return found;
}