A simple graph class with adjacency lists and shortest past via Dijkstra's algorithm.