I hacked together a solution to Hypergraph for taxonomy. Replace the file graphs/hg.php with the attached hg_tax.php. I basically changed the function hypergraph_get_menu. There are some caveats:

1) Still only able to render one graph unless I am missing something.
2) This code hardcodes to the Vocabulary with $vid=1. If you have multiple vocabularies, you'll have to adjust the code. Also, have to adjust ref links since 1, in: <ref xlink:href="taxonomy/term/1,' . $list->tid . '" /> refers to vocabulary $vid=1.
3) Vocabulary is given name "tags" and depth = 0, all terms and nodes have depths > 0.
4) The code sets one node depth for each node ID. Therefore, if you have a node with multiple tags, it will choose the depth based on first term in vocabulary that the code utilizes.

CommentFileSizeAuthor
#2 hg_tax.php_.txt12.09 KBgroovypower
hg_tax.php_.txt11.95 KBgroovypower

Comments

groovypower’s picture

Forgot to acknowledge this snippet http://drupal.org/node/177152 was very helpful in creating the menu.

groovypower’s picture

StatusFileSize
new12.09 KB

Realized I uploaded the old version of my code.

jbyrneiu’s picture

Title: Taxonomy Hypergraph » Taxonomy Hypergraph for Drupal 6.x
Version: 5.x-1.4 » 5.x-1.x-dev

This is a great feature. Unfortunately, I'm using Drupal 6.8. Do you plan to migrate your work to 6.x? What would be involved in doing this from your work so far?

Thanks in advance for a great contribution.

jbyrneiu

groovypower’s picture

My site is currently on 5.x so I have no plans. Seems this module is not getting updated as the last code change was March 2008.

simon georges’s picture

Status: Needs review » Closed (won't fix)

This version of Hypergraph is not supported anymore. The issue is closed for this reason.

Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.