On Mon, Jul 12, 2010 at 1:59 AM, Dennis, CHENG Renquan
<crq...@fedoraproject.org> wrote:
> From: Dennis, CHENG Renquan <crq...@fedoraproject.org>
>
> The GCC has default support of dumping gimple cfg in vcg format, but when I
> was trying to find a tool to interpret the *.006t.vcg dump file, or to 
> generate
> a vector image format, it seemed not easy, the vcgviewer [1] not mature as
> Graphviz, and Graph::Easy [2] is a perl CPAN module, but why not add a pass
> to generate Graphviz .dot format default? These days it seems Graphviz is more
> popular;
>
> [1] http://code.google.com/p/vcgviewer/
> [2] http://search.cpan.org/~tels/Graph-Easy/
>
> This is a tentative implementation on dumping ".dot" files directly,

I've found the best place to add Graphviz dot format may be the graph.c file,

static const char *const graph_ext[] =
{
  /* no_graph */ "",
  /* vcg */      ".vcg",
};

maybe I could add one more format ".dot" support, like:

static const char *const graph_ext[] =
{
  /* no_graph */ "",
  /* vcg */      ".vcg",
  /* dot */      ".dot",
};

Someone please recommend a good vcg format manipulate or conversion
program, if you know one, as long as is also free software; to stop my
work on the dot format support; my only incentive is that i cannot
find a good vcg => {ps,svg,png,...} conversion tool;

Thank you;

Reply via email to