Paster.getGraph() method for overriding classes.