graphscope.framework.dag_utils.project_dynamic_property_graph

graphscope.framework.dag_utils.project_dynamic_property_graph(graph, v_prop, e_prop, v_prop_type, e_prop_type)[source]

Create project graph operation for nx graph.

Parameters
  • graph (nx.Graph) – A nx graph.

  • v_prop (str) – The node attribute key to project.

  • e_prop (str) – The edge attribute key to project.

  • v_prop_type (str) – Type of the node attribute.

  • e_prop_type (str) – Type of the edge attribute.

Returns

Operation to project a dynamic property graph. Results in a simple graph.