set the stroke of edge