How to ceate project based on the path

I know that in previous versions, there was an apoc.graph.fromPaths() method.

ex:
MATCH path = (:Person)-[:ACTED_IN]->(:Movie)
WITH collect(path) AS paths
CALL apoc.graph.fromPaths(paths,'test', {})
YIELD graph AS g
RETURN g.nodes AS nodes, g.relationships AS relationships;

I am currently in version 5.15.How to beautiful replace it?

I see the procedure in the current apoc documentation. What happens when you use it?

Sorry, it's because I didn't introduce apoc-5.15.1-core.jar

1 Like