graph property

Map<Vertex, List<Edge>> graph
final

This map is the representation of your directed graph.

Implementation

final Map<Vertex, List<Edge>> graph;