nodestream-proj / nodestream

A Declarative framework for Building, Maintaining, and Analyzing Graph Data
https://nodestream-proj.github.io/docs/
Apache License 2.0
36 stars 10 forks source link

[REQUEST] Graph Schema Refactoring (Adjacency Migrations) #300

Open zprobst opened 3 months ago

zprobst commented 3 months ago

There are a variety of migrations that change the topology of the graph instead of just the data types themselves. The APOC docs have a whole section of possible refactorings that would be nice to support. However. some of the most relevant ones are:

  1. Redirect Relationship - Point a relationship from one node to the next.
  2. Invert Relationship - Change the direction of a relationship. Often paired with a name change.
  3. Extract Node From Relationship - Extract an Intermediary node between two previously related nodes.
zprobst commented 2 weeks ago

I think the target for this will simply be:

More complicated types are probably not reasonably needed.