graphscope.framework.dag_utils.create_graph_viewΒΆ

graphscope.framework.dag_utils.create_graph_view(graph, view_type)[source]ΒΆ

Create view of nx graph. :param graph: A nx graph. :type graph: nx.Graph :param view_type: β€˜reversed’: get a reverse view of graph.

β€˜directed’: get a directed view of graph β€˜undirected’: get a undirected view of graph

Returns:

Operation