A perfect way of navigating among related nodes is a tree navigation view (e.g. windows explorer-like files/directories view). There are numerous open source javascript packages out there which provides various types of tree listings, where e.g. ul/li html tags convert into nice tree views. The question is whether any of these could be integrated with Node Relativity, e.g. to enable tree navigation in a separate theme block.

There are some complexity issues to think of when generating large structures. Node relativity (graph or tree) structures can be very complex, and generating complete trees while rendering a navigation view could often go into endless loops, or render thousands of hidden/collapsed children. Generally tree structures are referred to as "only 1 parent". Although such navigation could also be done with multiple parents, if no root is needed.

The difficult task is loading the children to a node when needed, e.g. when the tree node is expanded in the navigation, thus, never creating a huge tree beforehand, and thus not getting into the complexity issues mentioned above. Such loading must be done with ajax or other methods of not reloading the whole page (including the whole tree navigation view).

There is a module jquery_treeview under development. Could it be useful in some way?

Well, the bounty... US$5000 to the one who wants to fix a cool Node Relativity Treeview Block (if you are poor!!)

Comments

alex ua’s picture

Is this bounty offer still good?