Shape drawing methods are separated from Edge class