added a feature to draw elements in the halfedge mesh