XML to diagram & layout engine -- (was: Re: XML to diagram)
From: Luc Pionchon <luc handhelds org>
To: Murtaza Chiba <mchiba gmail com>, discussions about usage and development of dia <dia-list gnome org>
Cc:
Subject: XML to diagram & layout engine -- (was: Re: XML to diagram)
Date: Sat, 05 Mar 2005 15:13:10 +0200
Hi,
dia native format is XML. So you can either use dia format, either use
your own format and transform it with an XSL transformation sheet. This
is quite easy to realize.
However dia does not have layout engine. It means you will have to tell
dia where to put the elements.
Adding a layout engine to dia is certainly a very exciting project, if
you want to have a go!
luc
On Mon, 2005-01-10 at 14:12 -0800, Murtaza Chiba wrote:
> To explain a little further, here is what I had in mind.
>
> <device>
> <name>Myswitch</name>
> <type>switch</type>
> <interface>
> <name>Fe0/0</name>
> <ipAddress>x.x.x.x</ipAddress>
> <subnet>y.y.y.y</subnet>
> </interface>
> </device>
>
> This would give me a block like below
>
> +++++++++++++++++++
> + + Fe0/0 x.x.x.x/y bits
> + +_____________
> + MySwitch +
> +++++++++++++++++++
>
> Some sort of similar simple language to connect other devices and
> console. Ofcourse it does not need to be limited to ascii art!
>
> Regards,
> Murtaza
>
>
>
> On Mon, 10 Jan 2005 12:37:14 -0800, Murtaza Chiba <mchiba gmail com> wrote:
> > Hello,
> > I am looking for a way to specify a network diagram in a simple XML
> > format and have the tool produce a network diagram viewable on the
> > web. Is it possible with DIa? If not, is anyone aware of the
> > existence of such a tool?
> >
> > Thanks,
> > Murtaza
> >
> _______________________________________________
> Dia-list mailing list
> Dia-list gnome org
> http://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://www.gnome.org/projects/dia/faq.html
> Main page at http://www.gnome.org/projects/dia
>