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