changed dfs to handle tuple x,y coords for edge labels