Looking for a free and fairly simple tree graph visualizing library

ikantspelwurdz

Well-known member
Joined
Dec 8, 2009
Messages
49
Programming Experience
1-3
I have a table, like this:
[table="width: 300, class: grid"]
[tr]
[td]Thing[/td]
[td]Category[/td]
[/tr]
[tr]
[td]Apple[/td]
[td]Food[/td]
[/tr]
[tr]
[td]Bill Gates[/td]
[td]People[/td]
[/tr]
[tr]
[td]Bread[/td]
[td]Food[/td]
[/tr]
[tr]
[td]Chai Tea[/td]
[td]Edibles[/td]
[/tr]
[tr]
[td]Dreamcast[/td]
[td]Electronics[/td]
[/tr]
[tr]
[td]Edibles[/td]
[td]Everything[/td]
[/tr]
[tr]
[td]Electronics[/td]
[td]Everything[/td]
[/tr]
[tr]
[td]FireTV Stick[/td]
[td]Electronics[/td]
[/tr]
[tr]
[td]Food[/td]
[td]Edibles[/td]
[/tr]
[tr]
[td]People[/td]
[td]Everything[/td]
[/tr]
[tr]
[td]Rocks[/td]
[td]Everything[/td]
[/tr]
[/table]

I want to turn it into a visualized graph, like this:
treegraph.png

Is there a library that can take the relational data and draw a graph like that for me? I don't need a lot of fancy features, though a big 'nice to have' would be if the library can throw an event when I click on a node. I can take care of altering the format of the input data to whatever the library expects. I just don't want to have to think about the visual layout.
 
Back
Top