User: javanaut Branch: HEAD Date: Mon, 7 Feb 2005 21:58:43 +0000 Modified files: /sandbox/javanaut/nodeattachment nodeattachment.module Log message: Added DiGraph traversal function (nodeattachment_list_relatives) that can be used as a generic search tool for finding nodes in a connected network of nodes. Search parameters include: follow parent nodes follow child nodes recursively search for nodes require results to contain max one node per node type an array of nodes not to traverse beyond an array of nodes not to traverse beyond or include in results I also added two shortcut functions nodeattachment_list_children and nodeattachment_list_parents that merely call the list_relatives function with the appropriate arguments. This is barely tested and might contain errors. Hence, it is not referenced anywhere yet. Links: http://cvs.drupal.org/diff.php?path=contributions/sandbox/javanaut/nodeattac...