getEdgeByString method
Searches graph and finds and returns an edge with the same name as the specified a and b string.
Implementation
@override
Edge getEdgeByString(String a, String b) => graph[getVertexByString(a)]!
.firstWhere((element) => element.b.equalsById(getVertexByString(b)));