[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: combined UML diagrams



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

after reading somewhat in the manual and such, I've noticed that SVG and such 
are used for diagram saving...

I might have a problem with that:

What I want to do, is drawing a special UML diagram, and then saving the 
objects (ie classes, associations, ...) in a special XML format... However, I 
don't need any "graphical" information to be saved, such as the positions of 
the objects in the diagram... 
So the question is how Dia stores the diagrams in memory? Are these just a 
bunch of "vectors", ie pure graphical entities, or would it be possible to 
get a UMLClassObject or something similar from memory, examine which 
relationships (ie associations, generalizations, ...) it has wrt other 
UMLCLassObjects, and then create an XML file based on that information?

Thanks,

Hans

On Monday 27 October 2003 12:03, SainTiss wrote:
> Hi,
>
> Thanks for this information...
>
> Is there suitable documentation available on the best way to accomplish
> this? I found a Wiki on the site, but nothing more yet...
>
> Cheers,
>
> Hans
>
> On Monday 27 October 2003 07:55, Lars Clausen wrote:
> > Pretty easy -- you just need to have the Activity object allow parenting
> > (and more flexible resizing).  You may need the label to be movable
> > instead of determining the box size.
> >
> > > Also, I'd like these diagrams to be saved in a self-made XMI format...
> >
> > That's just a question of writing an export filter.  Takes a little more
> > programming, but shouldn't be hard if you know your XMI.  Look to the
> > xfig export filter for a simple & up-to-date example.
> >
> > > Would this be possible/feasible to program in a relatively short time?
> >
> > Should be.
> >
> > -Lars

- -- 
Ark Linux - Linux for the Masses (http://arklinux.org)

Capitalism: 
You don't have any cows. The bank will not lend you money to buy cows, 
because you don't have any cows to put up as collateral.

Representative Democracy:
You have two cows. Your neighbors pick someone to tell you who gets the milk. 

In a world without walls and fences, who needs windows and gates?

Hans Schippers
2LIC INF
UA 2003-2004
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/nRKIXlnUYIbmLOQRAiVKAKCWEIchMyTGGQrSwvrexXoSlzxW1gCfdnZk
OPaBRVi36ibip91JIbuRAaY=
=f79F
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK