Block to build a graph for the critical path.