edge.setStyle() works