On Wed, Apr 25, 2007 at 03:08:09AM +0900, zedenator wrote:
> I am looking into using Ruby for my university project, the outcome of
> which is an application capable of displaying tree-like structures
> given a specific set of data and populated by an arbitrary number of
> nodes at any level (something like http://tkhtml.tcl.tk/tree.gif). The
> application needs to be interactive in a sense that clicking with a
> mouse on any of the nodes would result in some action taken.

Have a look at graphviz (www.graphviz.org). It can generate such trees and
make them clickable as client-side imagemaps. I believe there is a Ruby
binding (google for it), but at worst you create a temporary file and then
run the graphviz utility using system() or IO.popen.