pass in the graph driver so we don't form unnecessary dependency on a particular driver here.