Changed the graph interface.