adding graph.remove_recovered() and graph.reset() methods