use double bezier curve to draw edges