how to build a tree

85 views
Skip to first unread message

kim young ill

unread,
Jul 16, 2015, 4:48:26 AM7/16/15
to netfli...@googlegroups.com
Hi there,

assume i have a tree structure like a file-System (each node has a uniqueId, what would be the best practice to put it into NFBuildGraph so i can make this kind of query:

1. given a node id: query the parent path (parent-> grandParent .... -> root)
2. given a node id: query all direct  children
3. given a node id: query all children & grandchilren & ---grandgrandchilren ....

is the library suitable for this kind of thing (deep navigation) ?

thanx for suggestions.



Reply all
Reply to author
Forward
0 new messages