Classes | |
| class | Node |
| Class for node object. More... | |
Functions | |
| def | find_node |
| Find a node with its id. More... | |
| def | add_tree |
| In a tree, a children to an existing node. More... | |
| def | dict2tree |
| Transform a dictionnary into a tree object. More... | |
| def module_tree.add_tree | ( | root, | |
| id_parent, | |||
| ids_children | |||
| ) |
In a tree, a children to an existing node.
Parent node is found through its id.


| def module_tree.dict2tree | ( | dict_in | ) |
Transform a dictionnary into a tree object.
Dictionnary must be like parent's id: [child's id
Dictionnary must be ordered:

| def module_tree.find_node | ( | x, | |
| name | |||
| ) |
Find a node with its id.
Use a global variable var_glo.

1.8.5