printgraph now shows value of edges