getOutgoingEdgesByString method

  1. @override
List<UndirectedEdge> getOutgoingEdgesByString(
  1. String source
)
override

Gets all neighboring edges of a source that gets searched by string in graph

Implementation

@override
List<UndirectedEdge> getOutgoingEdgesByString(String source) {
  List<UndirectedEdge> tmp = [];
  tmp.addAll(graph[getVertexByString(source)]! as List<UndirectedEdge>);
  return tmp;
}