Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Imply that one node depends on another.
other may be a module name or another node.

For use by extension modules and tricky import code

src/m/o/modulegraph-0.11.1/modulegraph_tests/test_modulegraph.py   modulegraph(Download)
        n2 = graph.createNode(modulegraph.Node, 'n2')
 
        graph.implyNodeReference(n1, n2)
        outs, ins = map(list, graph.get_edges(n1))
        self.assertEqual(outs, [n2])
        self.assertEqual(ins, [])
 
        self.assertEqual(record, [])
 
        graph.implyNodeReference(n2, "n3")