def _generate_hierarchy(self, klass):
        node = self.get_node(klass.__name__, create=1)
        for base in klass.__bases__:
            base_node = self.get_node_from_class(base, create=1)
            node.add_parent(base_node)
            base_node.add_child(node)
            self._generate_hierarchy(base)
Does the hard work of generating the class hierarchy.
dataset/ETHPy150Open VisTrails/VisTrails/contrib/titan/class_tree.py/ClassTree._generate_hierarchy