This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Announce: VCG support for Graph::Easy


Moin,

after being prodded by some people :), I would like to announce a a small 
project of mine called Graph::Easy to the gcc community (e.g. you :).

== Introduction ==

Graph::Easy is a pure-perl module (GPL) incl. command-line utility to work 
with graphs and convert them between the various formats. It also contains 
a (limited) layouter to generate grid-based layouts, which allows to 
generate pure HTML, ASCII art, boxdrawing art or SVG rendering.

In the recent versions, I added support for VCG, which is the language that 
gcc can dump some information in. This support is still beta, but it should 
work for most cases now (famous last words :)

== Examples ==

After installing Graph::Easy, here is how you convert a VCG graph to 
Graphviz, or render it directly as my_vcg_graph.png:	

	graph-easy input.vcg --dot
	graph-easy my_vcg_graph.vcg --png

You can also write Perl scripts and do additional processing on the graph:

	#!/usr/bin/perl -w

	use Graph::Easy;
	use Graph::Easy::Parser::VCG;

	# input from file
	my $graph = Graph::Easy::Parser::VCG->from_file( shift );
	# ... process stuff here
	# output to STDOUT
	print $graph->as_graphviz;

Then use this like so:

	perl my_filter.pl input.vcg >output.dot

== Download and Resources ==

Download Graph::Easy (get at least v0.57!) from CPAN:

	http://search.cpan.org/~tels/Graph-Easy-0.57/

There are also various resources:

	http://bloodgate.com/perl/graph/manual/		Online manual
	http://bloodgate.com/perl/graph/		Project page
	http://bloodgate.com/graph-demo			Life demo page

== Bugreports ==

If you encounter any bugs, or missing features, please either email me them 
directly, or file them on RT:

	http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Graph-Easy

Thank you for your time! :)

Hope this is usefull to someone,

Tels

-- 
 Signed on Sun Aug 12 20:01:02 2007 with key 0x93B84C15.
 Get one of my photo posters: http://bloodgate.com/posters
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Hi, hi, hitotai, space taxi to the sky"

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]