Simplify styleEdges