def __init__(self, node1, node2):
    super(DiagramEdge, self).__init__(node1, node2)
    self.leftnote = None
    self.leftnotesize = Size(0, 0)
    self.rightnote = None
    self.rightnotesize = Size(0, 0)
    self.textwidth = 0
    self.textheight = 0
    self.order = 0
    self.activate = True
    self.asynchronous = False
    self.diagonal = False
    self.failed = False
    self.return_label = ''
def __init__(self, node1, node2):
    super(DiagramEdge, self).__init__(node1, node2)
    self.leftnote = None
    self.leftnotesize = Size(0, 0)
    self.rightnote = None
    self.rightnotesize = Size(0, 0)
    self.textwidth = 0
    self.textheight = 0
    self.order = 0
    self.activate = True
    self.asynchronous = False
    self.diagonal = False
    self.failed = False
    self.return_label = 