graphscope.framework.dag_utils.project_to_simple#
- graphscope.framework.dag_utils.project_to_simple(graph, v_prop, e_prop)[source]#
Project property graph to a simple graph.
- Parameters
graph – Source graph, which type should be a property graph
v_prop (str) – The node attribute key to project.
e_prop (str) – The edge attribute key to project.
- Returns
Operation to project a property graph, results in a simple graph.