Added delete_graph. All functions work