Added edges to layers