Project nx graph to a simple graph to run builtin alogorithms.
A simple graph is a accesser wrapper of property graph that only single edge attribute and single node attribute are available.
v_prop (the node attribute key to project, (optional, default None)) –
e_prop (the edge attribute key to project, (optional, default None)) –
simple_graph – A nx.Graph object that hold a simple graph projected by host property graph.
- Return type
the method is implicit called in builtin apps.