Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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
[erix]: what's the offending signature?
[Discipulus]: 'give man a fish erix it sonds like a push towards omosexuality.. ;=)
[Discipulus]: see Re: from txt file to array erix
[erix]: yeah, I ask for the text (I don't see signatures)
[Discipulus]: dear brother karl has "Furthermore I consider that Donald Trump must be impeached as soon as possible" in his sig
[erix]: ah, thanks Discipulus
[1nickt]: erix perhaps you could kindly point out your technique to roho and everyone will be happy.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2017-06-22 12:29 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (519 votes). Check out past polls.