finished the graph topology