Closed ncordon closed 3 months ago
Cherry picked from https://github.com/neo4j-contrib/neo4j-apoc-procedures/pull/4044
Adds a new method convert.paths.toTree that deprecates convert.toTree.
convert.paths.toTree
convert.toTree
Closes #3996, #3997
There were several problems with the old method. For paths:
v1 -> v2 -> v3 v2 -> v2 //self-loop
it was outputting:
v1 -> v2 -> v2 v2 -> v2
instead of:
v1 -> v2 -> v2 -> v3
This PR adds a new method that:
/spotlessApply
/generateLicenses
Cherry picked from https://github.com/neo4j-contrib/neo4j-apoc-procedures/pull/4044
What
Adds a new method
convert.paths.toTree
that deprecatesconvert.toTree
.Closes #3996, #3997
Why
There were several problems with the old method. For paths:
it was outputting:
instead of:
This PR adds a new method that: