graphscope.nx.classes.function.to_directed

graphscope.nx.classes.function.to_directed(graph)[源代码]

返回图graph的有向视图。

与 graph.to_directed(as_view=True) 相同 请注意 graph.to_directed 默认为 as_view=False 而此函数始终提供一个视图。