A road map can help you figure out how to get from one place to another. But did you know that you can use a special kind of graph to see whether you will get there on time?