Minor edit to add iterative options to generate graph and edges