Graph Different methods and operation with graphs and the dijkstra algorithm developed in Java. A Graph consists of a finite set of vertices(or nodes) and set of Edges which connect a pair of nodes.