http://www.perlmonks.org?node_id=1054092

fanticla has asked for the wisdom of the Perl Monks concerning the following question:

I'd like to display in a TK widget textual words in a structure like the following one (I just pooint to an externale image as it is esaier to understand what I mean, the image is in the center):

IMAGE

As I don't want to reinvent the wheel, I'd like to ask if you know some modules which can help me achive this. I've done some search but I just came out with Canvas, which is good, but it means I must do anything by myself, which is fine, but maybe there is already someting out there...

Replies are listed 'Best First'.
Re: Tk show words in graph
by roboticus (Chancellor) on Sep 14, 2013 at 13:33 UTC

    fanticia:

    I think you're looking for Tk::GraphViz. It seems to do exactly what you want.

    Disclaimer: I've never used it, but I play around with GraphViz every couple of blue moons, and it's pretty nice.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Re: Tk show words in graph
by keszler (Priest) on Sep 14, 2013 at 14:14 UTC
    Another option is the Tk::Cloth; basically an OO Canvas.