def rdflib_to_networkx_digraph(
        graph,
        calc_weights=True,
        edge_attrs=lambda s, p, o: {'triples': [(s, p, o)]},
        **kwds):
    import networkx as nx
    dg = nx.DiGraph()
    _rdflib_to_networkx_graph(graph, dg, calc_weights, edge_attrs, **kwds)
    return dg
Create a context for the rotate limits manipulator.
dataset/ETHPy150Open RDFLib/rdflib/rdflib/extras/external_graph_libs.py/rdflib_to_networkx_digraph--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/pymel/core/context.py/manipRotateLimitsCtx