Fix edge styles for undirected graphs in new gui.