def __init__(self, id, left, top, width=60, height=60, comment=""): GraphNode.__init__(self, id, left, top, width=60, height=60) self.comment = comment self.shape = None
def __init__(self, id, left, top, width=60, height=60, attrs=[], meths=[]): GraphNode.__init__(self, id, left, top, width=60, height=60) self.attrs = attrs self.meths = meths self.shape = None