graphscope.framework.dag_utils.project_arrow_property_graph

graphscope.framework.dag_utils.project_arrow_property_graph(graph, v_label_id, v_prop_id, e_label_id, e_prop_id, v_data_type, e_data_type, oid_type=None, vid_type=None)[source]

Project arrow property graph to a simple graph.

Parameters
  • graph (Graph) – Source graph, which type should be ARROW_PROPERTY

  • dst_graph_key (str) – The key of projected graph.

  • v_label_id (int) – Label id of vertex used to project.

  • v_prop_id (int) – Property id of vertex used to project.

  • e_label_id (int) – Label id of edge used to project.

  • e_prop_id (int) – Property id of edge used to project.

Returns

An op to project graph, results in a simple ARROW_PROJECTED graph.