getVertex method

  1. @override
EpitaphVertex getVertex(
  1. Vertex vertex
)
override

Searches graph and finds and returns a vertex.

Implementation

@override
EpitaphVertex getVertex(Vertex vertex) =>
    graph.keys.firstWhere((element) => vertex.id == element.id);