Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Tk show words in graph

by fanticla (Scribe)
on Sep 14, 2013 at 11:11 UTC ( #1054092=perlquestion: print w/replies, xml ) Need Help??
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):


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


    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.


    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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1054092]
Front-paged by Arunbear
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2018-03-18 11:00 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (230 votes). Check out past polls.