getNeighboringEdgesOfEdgeByString method
Gets all neighboring edges of an edge searched for by a
and b
Implementation
@override
List<DirectedEdge> getNeighboringEdgesOfEdgeByString(String a, String b) {
List<DirectedEdge> found = [];
getOutgoingEdgesByString(a).forEach((element) {
found.add(element);
});
getOutgoingEdgesByString(b).forEach((element) {
found.add(element);
});
found.remove(getEdgeByString(a, b));
return found;
}