def __init__(self, _type, _id):
    self.type = _type
    self.id = _id
    self.xlevel = 1
    self.ylevel_top = 1
    self.ylevel_bottom = 1
    self.edges = []
    self.color = self.basecolor
def __init__(self, _type, _id):
    self.type = _type
    self.id = _id
    self.xlevel = 1
    self.ylevel_top = 1
    self.ylevel_bottom = 1
    self.edges = []
    self.color = self.basecolor