Change primary attribute for a larget set of vertices


We would like to change the primary id of a set of vertices. Assume this is a copy operation in the end of the day, what is the most effective way of achieving this while also retaining the relationships?


Hi Anders,

the same problem you will have with relational databases using PK as FK constraint.
One way to solve this problem would be creating new primary IDs (maybe as compound key based on some non changeable data from your dataset?) and saving a primary ID as an attribute.