draw edges