Hi advait,
You should have a look at Re: A 2D layout of graphs in Perl/Tk
Cheers,
In reply to Re: Graphs/images in perl by lin0 in thread Graphs/images in perl by advait