refactoring edge rendering + turned 'drawEdge' into a method that can ta...

...ke one or more edges