node editor: draw edges