Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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...

Comment on Tk show words in graph
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2015-11-26 19:10 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (706 votes), past polls