getOutgoingEdgesByString method

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

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

Implementation

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