Distance graph
Time graph