def addChild(self, parentId, childId, childVertex=None):
        self.addEdge(parentId, childId)
        self.setVertex(childId, childVertex)
This is basically a convenience function to allow one to easily add children.
dataset/ETHPy150Open charanpald/APGL/apgl/graph/DictTree.py/DictTree.addChild