need to figure out how to add edge in graph