Hello Neo4j Users, his is a newbie question. I have a tree that could be thought of as a filesystem tree, i.e:
/ /dir1 /dir1/dir11 /dir1/dir12 ... /dir2 /dir2/dir21 /dir2/dir22 .... with possibly long paths As far as I understand a Tree is a particular case of a graph. Each node has a NodeID (like a Inode in a unix filesystem) and a Name (as metadata, which can be non ASCII) Common operations will be: give me the node ID based on the node path /dir1/dir12/dir123/dir1231 I guess there one could implement a traverser class to navigate to the node at the end of the path based on names lookup, but it seems not very natural when looking at the neo4j api. It seems the API is more designed to get whole tress or first neighbours. Also the data will be mutable, i.e. a path /dir1/dir12/dir123/dir1231 could be renamed into: /dir2/dir12/dir123/dir1231 Thanks in advance TuX _______________________________________________ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user