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