Some properties (and it's default values) of RootedTree Datasctructure

"NodeSize", 100
"ChildCount", 2
"PointersRegion", 0.3

"AutoAdjustNodesPositions", False


Pointers,

"TreeEdge", n, where  n < 0 (-1) in the edge to parent and n >= 0 in a edge to child in n- position


Data:
ChildID, valid if node is son of some other node and store the value of node (from 0 to n-1)



Some examples of scripts

///////////
var tree = graphs[0]
r = tree.root_node(root)
r.left_child().adjustPosition()
r.rigth_child().adjustPosition()


///////
var tree = graphs[0]
root = tree.add_data("Root")
tree.set_root_node(root)
left = tree.add_data("Left")
rigth = tree.add_data("Rigth")
root.add_left_child(left)
left.add_node_parent(root)
left.adjustPosition()
root.add_rigth_child(rigth)
rigth.add_node_parent(root)
rigth.adjustPosition()
