graphscope.framework.dag_utils.project_arrow_property_graph_to_simple

graphscope.framework.dag_utils.project_arrow_property_graph_to_simple(graph, v_label_id=None, v_prop_id=None, e_label_id=None, e_prop_id=None, v_data_type=None, e_data_type=None, 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.