Re: XML to diagram

2005-11-11 Thread Ludger Merkens
Murtaza Chiba 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? Do you want to "handwrite" your XML and

Re: XML to diagram & layout engine -- (was: Re: XML to diagram)

2005-03-05 Thread Lars Clausen
On Sat, 2005-03-05 at 17:33 +0200, Luc Pionchon wrote: > Hi, > > On Sat, 2005-03-05 at 17:58 +0100, Lars Clausen wrote: > > Luc Pionchon sagde: > > > Hi, > > > > > > dia native format is XML. So you can either use dia format, either use > > > your own format and transform it with an XSL transforma

Re: XML to diagram & layout engine -- (was: Re: XML to diagram)

2005-03-05 Thread Luc Pionchon
Hi, On Sat, 2005-03-05 at 17:58 +0100, Lars Clausen wrote: > Luc Pionchon sagde: > > 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

Re: XML to diagram & layout engine -- (was: Re: XML to diagram)

2005-03-05 Thread Lars Clausen
Luc Pionchon sagde: > 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 t

XML to diagram & layout engine -- (was: Re: XML to diagram)

2005-03-05 Thread Luc Pionchon
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 engi

Re: XML to diagram

2005-01-10 Thread Murtaza Chiba
To explain a little further, here is what I had in mind. Myswitch switch Fe0/0 x.x.x.x y.y.y.y This would give me a block like below +++ + + Fe0/0 x.x.x.x/y bits +

Re: XML DTD or Schema for input

2003-09-10 Thread Lars Clausen
On 10 Sep 2003, David R. Patterson wrote: > Is there a DTD or Schema for the input xml file for dia? I'm trying > to create a diagram via a program and have some questions about the > UML Class diagram and related objects. Yes, there is on in the doc directory called diagram.dtd. It hasn't been

Re: xml tools

2003-06-21 Thread Alan Horkan
On Sat, 21 Jun 2003, James K. Lowden wrote: > Date: Sat, 21 Jun 2003 00:19:14 -0400 > From: James K. Lowden <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] I got that last message twice, please dont crosspost, please use [EMAIL PROTECTED] - A

Re: xml tools

2003-06-20 Thread James K. Lowden
On Fri, 20 Jun 2003 21:06:01 -0400, "James K. Lowden" wrote: > > but were in want of a CVS option to use a patch/diff that understood > XML. Well, at least that last part appears solved. On second thought It's no replacement for diff(1) and friends. It might be handy, but it's not magic.

VCG Graph Layout in DIA (Re: XML)

2003-02-05 Thread James Michael DuPont
--- Lars Clausen <[EMAIL PROTECTED]> wrote: > On Tue, 4 Feb 2003, James Michael DuPont wrote: > > > > --- Lars Clausen <[EMAIL PROTECTED]> wrote: > >> On Tue, 4 Feb 2003, James Michael DuPont wrote: > >> > > >> > My biggest concern with the dotty program is that we are > supporting > >> > non-fr

Re: XML

2003-02-04 Thread Lars Clausen
On Tue, 4 Feb 2003, James Michael DuPont wrote: > > --- Lars Clausen <[EMAIL PROTECTED]> wrote: >> On Tue, 4 Feb 2003, James Michael DuPont wrote: >> > >> > My biggest concern with the dotty program is that we are supporting >> > non-free software. Creating a direct dependancy on a software that

Re: XML

2003-02-04 Thread James Michael DuPont
--- Lars Clausen <[EMAIL PROTECTED]> wrote: > On Tue, 4 Feb 2003, James Michael DuPont wrote: > > > > My biggest concern with the dotty program is that we are supporting > > non-free software. Creating a direct dependancy on a software that > is > > not compatible with the GPL. The software would

Re: XML

2003-02-04 Thread Lars Clausen
On Tue, 4 Feb 2003, James Michael DuPont wrote: > > My biggest concern with the dotty program is that we are supporting > non-free software. Creating a direct dependancy on a software that is > not compatible with the GPL. The software would have to be distributed > with dia to use this feature.

Re: XML

2003-02-04 Thread James Michael DuPont
--- Lars Clausen <[EMAIL PROTECTED]> wrote: > On 03 Feb 2003, Lars Clausen wrote: > > On Mon, 3 Feb 2003, John Edstrom wrote: > >> On Mon, Feb 03, 2003 at 09:39:58AM -0600, Lars Clausen wrote: > >>> On Sun, 2 Feb 2003, John Edstrom wrote: > >>> > So far my biggest concern with a dot2dia transforma

Re: XML

2003-02-03 Thread Lars Clausen
On 03 Feb 2003, Lars Clausen wrote: > On Mon, 3 Feb 2003, John Edstrom wrote: >> On Mon, Feb 03, 2003 at 09:39:58AM -0600, Lars Clausen wrote: >>> On Sun, 2 Feb 2003, John Edstrom wrote: >>> > So far my biggest concern with a dot2dia transformation is that dot >>> > uses splines and dia doesn't. S

Re: XML

2003-02-03 Thread Lars Clausen
On Mon, 3 Feb 2003, John Edstrom wrote: > On Mon, Feb 03, 2003 at 09:39:58AM -0600, Lars Clausen wrote: >> On Sun, 2 Feb 2003, John Edstrom wrote: >> > So far my biggest concern with a dot2dia transformation is that dot >> > uses splines and dia doesn't. Some of dot's edges get pretty baroque >> >

Re: XML

2003-02-03 Thread John Edstrom
On Mon, Feb 03, 2003 at 09:39:58AM -0600, Lars Clausen wrote: > On Sun, 2 Feb 2003, John Edstrom wrote: > > So far my biggest concern with a dot2dia transformation is that dot > > uses splines and dia doesn't. Some of dot's edges get pretty baroque > > in complex graphs and arcs and polylines can'

Re: XML

2003-02-03 Thread Lars Clausen
On Sun, 2 Feb 2003, John Edstrom wrote: > So far my biggest concern with a dot2dia transformation is that dot > uses splines and dia doesn't. Some of dot's edges get pretty baroque > in complex graphs and arcs and polylines can't do equivalently > tortuous paths as well. Can't you use Dia's bezie

Re: XML

2003-02-02 Thread John Edstrom
On Sun, Feb 02, 2003 at 04:11:41PM +, Aaron Trevena wrote: > > From: John Edstrom <[EMAIL PROTECTED]> > > On Fri, Jan 31, 2003 at 11:40:24PM -0600, Lars Clausen wrote: > > > On Fri, 31 Jan 2003, John Edstrom wrote: > > > > I'm thinking of spitting out some data as digraphs. I looked at the > >

Re: XML

2003-02-02 Thread James Michael DuPont
arron Right on. Tell me if you need any help. I am looking to produce a new release of vcg. lets work out some api. Take a look at redland http://www.redland.opensource.ac.uk/ mike --- Aaron Trevena <[EMAIL PROTECTED]> wrote: > > From: John Edstrom <[EMAIL PROTECTED]> > > On Fri, Jan 31, 2003 at 11

Re: XML

2003-02-01 Thread James K. Lowden
On Fri, 31 Jan 2003 22:45:29 -0800, John Edstrom <[EMAIL PROTECTED]> wrote: > > The DTD is in the doc directory of the tarball. I don't think we have > > a more detailed description around. > > I got my dia as a binary .rpm and the DTD didn't come with it. I just > DLed the source and the DTDs a

Re: XML

2003-02-01 Thread Lars Clausen
On Fri, 31 Jan 2003, John Edstrom wrote: > Right now I'm building automatons which can get pretty complex. > Layout is my main concern, more than rendering or manipulation. I use > the perl Graph::Directed module which, happily enough, writes xml > and/or 'dot' files ( from the graphviz package).

Re: XML

2003-02-01 Thread John Edstrom
On Fri, Jan 31, 2003 at 11:40:24PM -0600, Lars Clausen wrote: > On Fri, 31 Jan 2003, John Edstrom wrote: > > Hi, > > > > I'm new to Dia. I like that it's output is ( can be ) in xml. What > > I'm wondering is, is there a DTD or a fairly detailed description of > > the elements, their allowed att

Re: XML

2003-01-31 Thread Lars Clausen
On Fri, 31 Jan 2003, John Edstrom wrote: > Hi, > > I'm new to Dia. I like that it's output is ( can be ) in xml. What > I'm wondering is, is there a DTD or a fairly detailed description of > the elements, their allowed attributes, how namespaces are used, etc.? > I didn't see such a document whi

Re: XML file format - Linux vs Windows

2002-06-18 Thread Lars Clausen
On Tue, 18 Jun 2002, Tino Schwarze wrote: > On Tue, Jun 18, 2002 at 11:09:04PM +0200, Cyrille Chepelov wrote: > >> > Well, just let's not store the bounding box at all but let the UML >> > Class figure it out with the help of the renderer (it needs the >> > renderer anyway). IMHO this would requi

Re: XML file format - Linux vs Windows

2002-06-18 Thread Tino Schwarze
On Tue, Jun 18, 2002 at 11:09:04PM +0200, Cyrille Chepelov wrote: > > Well, just let's not store the bounding box at all but let the UML Class > > figure it out with the help of the renderer (it needs the renderer > > anyway). IMHO this would require nothing more than an invisible "redraw > > all

Re: XML file format - Linux vs Windows

2002-06-18 Thread Cyrille Chepelov
Le Tue, Jun 18, 2002, à 09:47:11PM +0200, Tino Schwarze a écrit: > Well, just let's not store the bounding box at all but let the UML Class > figure it out with the help of the renderer (it needs the renderer > anyway). IMHO this would require nothing more than an invisible "redraw > all" cycle a

Re: XML file format - Linux vs Windows

2002-06-18 Thread Tino Schwarze
On Tue, Jun 18, 2002 at 08:11:32PM +0200, Cyrille Chepelov wrote: > > Why do bounding boxes get saved at all? To me it looks like they should > > be computed after loading the file. > > the UML Class object, for instance, has a size which depends on the > contained text's bounding box. This is w

Re: XML file format - Linux vs Windows

2002-06-18 Thread Cyrille Chepelov
Le Tue, Jun 18, 2002, à 03:05:05PM -0500, Lars Clausen a écrit: > So this way we're sure that the bounding box does contain the text, but the > text will occasionally look too short. It's an option, I guess. The Exactly. > alternative may be to render the font in a big enough size that it's

Re: XML file format - Linux vs Windows

2002-06-18 Thread Lars Clausen
On Tue, 18 Jun 2002, Cyrille Chepelov wrote: > Le Tue, Jun 18, 2002, à 01:37:13PM -0500, Lars Clausen a écrit: > > >> It's not a question of saving the bounding boxes. The problem is that >> the size of the text determines the size of the surrounding box. If the >> text doesn't scale linearly,

Re: XML file format - Linux vs Windows

2002-06-18 Thread Cyrille Chepelov
Le Tue, Jun 18, 2002, à 01:37:13PM -0500, Lars Clausen a écrit: > It's not a question of saving the bounding boxes. The problem is that the > size of the text determines the size of the surrounding box. If the text > doesn't scale linearly, the size of the box is indeterminate. By the way, I

Re: XML file format - Linux vs Windows

2002-06-18 Thread Lars Clausen
On Tue, 18 Jun 2002, Tino Schwarze wrote: > On Tue, Jun 18, 2002 at 07:07:54PM +0200, Cyrille Chepelov wrote: > >> > > And the different fonts and resulting bounding box size mismatches >> > > aren't producing irrelevant changes ? >> > >> > I don't want to talk about fonts... :-< (Courier seems

Re: XML file format - Linux vs Windows

2002-06-18 Thread Cyrille Chepelov
Le Tue, Jun 18, 2002, à 07:02:36PM +0200, Tino Schwarze a écrit: > Why do bounding boxes get saved at all? To me it looks like they should > be computed after loading the file. the UML Class object, for instance, has a size which depends on the contained text's bounding box. This is where the pr

Re: XML file format - Linux vs Windows

2002-06-18 Thread Tino Schwarze
On Tue, Jun 18, 2002 at 07:07:54PM +0200, Cyrille Chepelov wrote: > > > And the different fonts and resulting bounding box size mismatches > > > aren't producing irrelevant changes ? > > > > I don't want to talk about fonts... :-< (Courier seems to work ok :-/) > > > > As for the bounding box

Re: XML file format - Linux vs Windows

2002-06-18 Thread Lars Clausen
On Tue, 18 Jun 2002, Ian Britten wrote: > I don't want to talk about fonts... :-< (Courier seems to work ok :-/) > > As for the bounding boxes - I had noticed they changed a lot, and > presumed they must be tied to screen resolution or something... Getting > them the same would be great... Fo

Re: XML file format - Linux vs Windows

2002-06-18 Thread Cyrille Chepelov
Le Tue, Jun 18, 2002, à 10:45:32AM -0300, Ian Britten a écrit: > Works perfectly! > > Unfortunately, this has to be done per-user. I'd like to suggest that > perhaps if the user chooses to save their files as uncompressed XML, that > Dia turn this option on automatically. Thoughts? This make

Re: XML file format - Linux vs Windows

2002-06-18 Thread Ian Britten
On Mon, 17 Jun 2002 23:19:03 +0200 Hans Breuer <[EMAIL PROTECTED]> wrote: > This isn't at all an issue of Linux versus Windoze, but of using > libxml1 (which does pretty whitespace formatting) and libxml2 > which does not anymore, by default. Ya, I figured that was probably the culprit. (To be h

Re: XML file format - Linux vs Windows

2002-06-18 Thread Alan Horkan
Although libxml2 no longer has pretty priting / nice layout enabled by default, is there any particular reason for Dia not to have it enabled? Sincerely Alan Horkan ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia

Re: Diagram tree window - patch (Was: Re: xml-i18n and a new feature)

2001-11-28 Thread Andrew S . Halper
Finally got around to trying this out. It is very cool. It's going to make bulky ER diagrams much more manageable. Thanks! Andy On 2001.10.30 17:18 Jose A. Ortega Ruiz wrote: > Cyrille Chepelov <[EMAIL PROTECTED]> writes: > > > This feature sounds interesting... Please hack at will ! Unfortu

Re: Diagram tree window - patch (Was: Re: xml-i18n and a new feature)

2001-11-02 Thread Kevin A. Burton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 "Jose A. Ortega Ruiz" <[EMAIL PROTECTED]> writes: > Cyrille Chepelov <[EMAIL PROTECTED]> writes: > > > This feature sounds interesting... Please hack at will ! Unfortunately, > > given the current apparently very limited time historic coders of dia

Re: Diagram tree window - patch (Was: Re: xml-i18n and a new feature)

2001-11-01 Thread Jose A. Ortega Ruiz
Hans Breuer <[EMAIL PROTECTED]> writes: > Just commited your patch. Please check if I've accidently broken anything > while fixing some glitches :) > i've updated my local copy, but the patch is not there yet... i guess the update relies on some cron job? (i'm using :pserver:[EMAIL PROTECTED]:

Re: Diagram tree window - patch (Was: Re: xml-i18n and a new feature)

2001-11-01 Thread Hans Breuer
At 14:25 01.11.01 +0100, Jose A. Ortega Ruiz wrote: >Cyrille Chepelov <[EMAIL PROTECTED]> writes: > >> >> Thanks a lot, Jose. This thing rocks. >> >> -- Cyrille >> > >you're welcome. it's a pleasure contributing to such a great project! >if you miss any feature in this tree thing (e.g. pop

Re: Diagram tree window - patch (Was: Re: xml-i18n and a new feature)

2001-11-01 Thread Jose A. Ortega Ruiz
Cyrille Chepelov <[EMAIL PROTECTED]> writes: > > Thanks a lot, Jose. This thing rocks. > > -- Cyrille > you're welcome. it's a pleasure contributing to such a great project! if you miss any feature in this tree thing (e.g. pop up menus), please tell me about it :-) regards, jao __

Re: Diagram tree window - patch (Was: Re: xml-i18n and a new feature)

2001-11-01 Thread Cyrille Chepelov
Le jeu, nov 01, 2001, à 12:00:35 +0100, Hans Breuer a écrit: > Already compiled and slightly modified (I did not like the View menu > in the toolbox, so 'Diagram Tree' is moved to the file menu (similar > to what The Gimp does with 'Dialogs'). yes (not to mention that there's an i18n glitch, I

Re: Diagram tree window - patch (Was: Re: xml-i18n and a new feature)

2001-10-31 Thread Hans Breuer
At 07:24 31.10.01 +0100, Cyrille Chepelov wrote: >Le mer, oct 31, 2001, à 01:18:43 +0100, Jose A. Ortega Ruiz a écrit: > >> the attached patch (to be applied to the current CVS tree) implements >> the diagram window idea i mentioned a few days ago: > >unfortunately, it lacks diagtree.h, which make

Re: Diagram tree window - patch (Was: Re: xml-i18n and a new feature)

2001-10-31 Thread Jose A. Ortega Ruiz
Cyrille Chepelov <[EMAIL PROTECTED]> writes: > Le mer, oct 31, 2001, à 01:18:43 +0100, Jose A. Ortega Ruiz a écrit: > > > the attached patch (to be applied to the current CVS tree) implements > > the diagram window idea i mentioned a few days ago: > > unfortunately, it lacks diagtree.h, which m

Re: Diagram tree window - patch (Was: Re: xml-i18n and a new feature)

2001-10-30 Thread Cyrille Chepelov
Le mer, oct 31, 2001, à 01:18:43 +0100, Jose A. Ortega Ruiz a écrit: > the attached patch (to be applied to the current CVS tree) implements > the diagram window idea i mentioned a few days ago: unfortunately, it lacks diagtree.h, which makes it uncompilable. I'm going to whine a little over fo

Diagram tree window - patch (Was: Re: xml-i18n and a new feature)

2001-10-30 Thread Jose A. Ortega Ruiz
Cyrille Chepelov <[EMAIL PROTECTED]> writes: > This feature sounds interesting... Please hack at will ! Unfortunately, > given the current apparently very limited time historic coders of dia can > spend on it nowadays, things are very quiet on the CVS side. I don't even > know whether my snapshot

Re: xml-i18n and a new feature

2001-10-23 Thread Jose A. Ortega Ruiz
Cyrille Chepelov <[EMAIL PROTECTED]> writes: > This feature sounds interesting... Please hack at will ! Unfortunately, > given the current apparently very limited time historic coders of dia can > spend on it nowadays, things are very quiet on the CVS side. I don't even > know whether my snapshot

Re: xml-i18n and a new feature

2001-10-22 Thread Cyrille Chepelov
Le lun, oct 22, 2001, à 11:58:31 +0200, Jose A. Ortega Ruiz a écrit: > this is my first posting to the list. i've been following it for a few > days, though, and been using dia on a daily basis during the last > month for UML modelling. one feature that i miss is a window > displaying a tree of c

Re: XML Schema, XML parsing stuff, C++ (not!)

2001-06-25 Thread Andre Kloss
Just to clear things up a bit: 1. Let's use DTDs, as libxml supports them. If you need to write Schemas or whatever else, feel free, but don't expect us to use them until libxml uses them. 2. Let's use C and no C++, as I don't like mixing up the 2 and I don't see what using C++ can do for bringin

Re: XML Schema

2001-06-24 Thread James K. Lowden
John Palmieri wrote: > Since it is only used to define the file format and since work > can go on on other parts without having the validator/compiler I don't think that > using them will have any negative impact. However if you think that having a DTD > around would be good I can do it both way

Re: XML Schema

2001-06-24 Thread John Palmieri
James Henstridge wrote: > On Sat, 23 Jun 2001, John Palmieri wrote: > > > Sorry for double posting but my computer's clock was messed up. > > > > I'm getting a little bit of a feel for XML Schema's. The documentation > > islittered with new terminology that takes a bit getting use to. The > >

Re: XML Schema

2001-06-24 Thread John Palmieri
Well, the DTD's just describe the documents format. You don't need them per say unless you want to validate files. The advantage of XSchemas are that they allow for data types both complex and simple to be defined. Actually I am going to use the simpler Relax-NG stuff. The great thing about u

Re: XML Schema

2001-06-24 Thread James Henstridge
On Sat, 23 Jun 2001, John Palmieri wrote: > Sorry for double posting but my computer's clock was messed up. > > I'm getting a little bit of a feel for XML Schema's. The documentation > islittered with new terminology that takes a bit getting use to. The > examples look straight forward. I thin

Re: XML Schema

2001-06-23 Thread James K. Lowden
John Palmieri wrote: > I'm getting a little bit of a feel for XML Schema's. ... I think they are a > better way to represent the shapes instead of DTD's. John, what do we need that DTD's don't provide? libxml supports DTDs and is starting to support XPath and XSLTs. We'll get done sooner if w

Re: XML Schema

2001-06-23 Thread Harry George
As you study XSchema, please keep in mind that a lot of folks who like the general idea of "something better than DTD's" think XSchema is an abomination. Consider: http://www.oasis-open.org/committees/relax-ng/ This combination of TREX and RELAX has the attention of some heavy hitters in the X

Re: XML Stuff in Sheet and Shape Definitions

2001-05-29 Thread James Henstridge
On Tue, 29 May 2001, Jamin Collins wrote: > I'm working on some basic Chapin shapes for Dia, but I'm a little unsure of > what some of the XML in the .shape and .sheet files are for. It appears to > be important as the sheets and shapes don't load without it. However, it > also appears to be so

RE: XML Stuff in Sheet and Shape Definitions

2001-05-29 Thread Jamin Collins
Andre Kloss [mailto:[EMAIL PROTECTED]] wrote: > > http://www.daa.com.au/~james/dia-shape-ns"; > declares the XML Namespace. Just leave it as it is. > > xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-2303/DTD/sv > > g-2303-stylable.dtd"> > This is just the Document Type Definition URI. It s

Re: XML Stuff in Sheet and Shape Definitions

2001-05-29 Thread Andre Kloss
Hi, Jamin. > http://www.daa.com.au/~james/dia-shape-ns"; declares the XML Namespace. Just leave it as it is. > xmlns:svg="http://www.w3.org/TR/2000/03/WD-SVG-2303/DTD/svg-2303-sty > lable.dtd"> This is just the Document Type Definition URI. It says that the following XML conforms to SVG