Commit af81310b authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[lib] Remove attrs hloc/wloc in CStartNode, CSimpleNode, CInputNode; Relative...

[lib] Remove attrs hloc/wloc in CStartNode, CSimpleNode, CInputNode; Relative to refactor of XmlVisitor
parent 6b476b81
......@@ -656,8 +656,6 @@ class CStartNode(CNode):
def __init__(self, x_coord, y_coord, model, **kwargs):
CNode.__init__(self, x_coord, y_coord, model, **kwargs)
self.name = "__start__"
self.wloc = 1.0
self.hloc = 1.0 # for compatibility with find
def copy(self, model=None):
"""
......@@ -824,7 +822,6 @@ class CSimpleNode(CNode):
CNode.__init__(self, xcoord, ycoord, model, **kwargs)
self.name = name
self.father = None # double linkage for coordinate computations
self.hloc = 1.0
self.activated = False
self.was_activated = False
......@@ -993,7 +990,6 @@ class CInputNode(CSimpleNode):
def __init__(self, xcoord, ycoord, name, model, **kwargs):
CSimpleNode.__init__(self, xcoord, ycoord, name, model, **kwargs)
self.father = None # double linkage for coordinate computations
self.hloc = 1.0
self.activated = False
def is_input(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment