Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added apoc.refactor.cloneSubgraph() for cloning and reanchoring a subgraph of nodes and relationships between them #1087

Merged
merged 7 commits into from Feb 15, 2019

Conversation

InverseFalcon
Copy link
Collaborator

@InverseFalcon InverseFalcon commented Feb 7, 2019

Fixes / implements feature request #1075

Introduces apoc.refactor.cloneSubgraph for cloning and reanchoring a subgraph of nodes and relationships between them.

JUnit tests and overview documentation included (refactoring procs).

Requesting backport to 3.4 as well if possible.

…graph of nodes and relationships between them
docs/overview.adoc Outdated Show resolved Hide resolved
@jexp
Copy link
Member

jexp commented Feb 12, 2019

See my comments, please also add an section in the graph refactoring documentation page.

Also added a new `apoc.refactor.cloneSubgraphFromPaths()` proc which takes a list of paths instead of nodes and rels.
`rels` is now optional, empty or missing rels list means clone all relationships between the given nodes.
@jexp jexp merged commit 52858a8 into neo4j-contrib:3.5 Feb 15, 2019
jexp pushed a commit that referenced this pull request Feb 15, 2019
…graph of nodes and relationships between them (#1087)

* Added apoc.refactor.cloneSubgraph() for cloning and reanchoring a subgraph of nodes and relationships between them

* Applied most suggested changes from reviewers.
Also added a new `apoc.refactor.cloneSubgraphFromPaths()` proc which takes a list of paths instead of nodes and rels.

* Applied additional suggestions.
`rels` is now optional, empty or missing rels list means clone all relationships between the given nodes.

* Updated documentation
@InverseFalcon InverseFalcon deleted the CloneSubgraph branch March 23, 2019 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants