Corrected order of graph arguments.