WIP: Un seul type de noeud (conditions ou transitions).
This commit is contained in:
parent
ae6981a624
commit
648072f59d
Binary file not shown.
|
@ -33,11 +33,11 @@ root = None
|
|||
for i in range(0, len(model.testmodel.get_conditions().get_all())):
|
||||
condition = model.testmodel.get_conditions().get_one(i)
|
||||
tmp = TreeNode(condition.get_self_id(),
|
||||
condition.get_parent_id(),
|
||||
condition.get_weight(),
|
||||
condition.get_site(),
|
||||
condition.get_coord("x"),
|
||||
None, None)
|
||||
condition.get_parent_id(),
|
||||
condition.get_weight(),
|
||||
condition.get_site(),
|
||||
condition.get_coord("x"),
|
||||
None, None)
|
||||
conditions_set.add(tmp)
|
||||
if tmp.parent_id == 0:
|
||||
root = tmp
|
||||
|
|
Loading…
Reference in New Issue