neo4j - Method for linking nodes in time order -
i have existing graph in neo4j. stored event datetime in apoc in node. want create relationships between nodes in time order. (first event)--(second event)--(third event) etc.
is there way programmatically?
yes, can match on nodes, order them event datetime, collect them, use apoc.nodes.link()
create desired relationships between them.
Comments
Post a Comment