more useful options | |
PerlMonks |
Re: Tk::AbstractCanvas problemby zentara (Archbishop) |
on Oct 09, 2012 at 12:00 UTC ( [id://997995]=note: print w/replies, xml ) | Need Help?? |
My problem is that when the number of nodes are a bit high the canvas adjusts the node sized in some weird way Can you show a minimal code example? Your problem description is quite vague. How can I make a small view of my whole Graph Layout window which I can use as a control widget You could take a screenshot of the whole canvas, with bbox('all'), then resize it smaller, along with hash which correlates the reduced coordinates to the larger one. Then bind the mouse to the smaller image to constantly get its coordinates, when the mouse enters it. Here is how to capture the whole canvas.
I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh
In Section
Seekers of Perl Wisdom
|
|