def add_child(self, child):
        assert isinstance(child, TreeNode)
        if child not in self.children:
            self.children.append(child)
Add a child node.
dataset/ETHPy150Open VisTrails/VisTrails/contrib/titan/class_tree.py/TreeNode.add_child