def out_degree(self, name):
        odeg = super(DGraphBase, self).out_degree(name)
        if isinstance(odeg, dict):
            return len(odeg)
        return odeg
The nx.DiGraph version returns an empty dict when it should
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/depgraph.py/DGraphBase.out_degree