def node_graph(self, g):
        try:
            db = self.nodeDB
        except __HOLE__:
            return g
        out = {}
        for k, e in g.items():
            k = self.get_node(k)
            d = out.setdefault(k, {})
            for dest, edge in e.items():
                d[self.get_node(dest)] = edge
        return out
dataset/ETHPy150Open cjlee112/pygr/tests/graph_test.py/Query_Test.node_graph