Part1 of manage_graph isin place