Re: format conversion between DIA and graphviz (dot)?
From: John Ellson <ellson lucent com>
To: dia-list gnome org
Subject: Re: format conversion between DIA and graphviz (dot)?
Date: Wed, 03 Oct 2001 16:11:27 -0400
Steven,
Dot supports SVG (which is an XML language) as an output format,
you might be able to use this directly with dia? Dot's SVG output is
already compatible with sodipodi.
I've also been looking at dia recently with a view to offering an automatic
layout feature based on graphviz, however dia's shapes are not
consistently described by SVG which makes this idea somewhat problematic.
We are also interested in extending dot to support an XML graph
description language for input. RGML is a possibility:
http://www.cs.rpi.edu/~puninj/RGML/
Perhaps you have some opinions on this?
John Ellson
Steven Pothier wrote:
> The graphviz package, "dot" program does graph layout from a graph
> description given in a simple text format.
> It outputs a couple formats (not XML though). Has anyone written
> anything to transform the formats used by DIA and graphviz?
>
> There is an obvious benefit to being able generated a graph in DIA
> format from a (layout free) textual format.
>
> If I find nothing here, I'll likely write a perl script to fullfill
> something like:
>
> dot -Tplain mygraph.dot | dotplain2dia.pl > mygraph.dia
>
> -sp-
>
> P.S.
> graphviz is described at: http://www.research.att.com/sw/tools/graphviz
>
> P.S.S. I fantasize that I have a tools that completely integrates DIA
> and graphviz so that I can do automatic layout, transformations,
> filtering AND easy manual editing with the same tool.
>
> _______________________________________________
> Dia-list mailing list
> Dia-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/dia-list
>
--
John Ellson (ellson@lucent.com) Lucent Technologies, Holmdel, NJ, 07733