Does it work if you do something like this:
edge_shape = EdgeShape(False, 10, 10, 100, 100, False, self.graph_canvas) self.graph_canvas.Refresh()
?