graphscope.framework.dag_utils.graph_to_numpyΒΆ
- graphscope.framework.dag_utils.graph_to_numpy(graph, selector=None, vertex_range=None)[source]ΒΆ
Retrieve graph raw data as a numpy ndarray.
- Parameters:
graph (
graphscope.framework.graph.GraphDAGNode) β Source graph.selector (str) β Select the type of data to retrieve.
vertex_range (str) β Specify a range to retrieve.
- Returns:
An op to convert a graphβs data to numpy ndarray.