Alex,

> > I cannot think of any useful diagram I would draw for my job that
> > wouldn't have connections between layers.
> 
> Ok, I might have to reconsider this then.

Thanks.  I appreciate you being open to it.

> > If I were to update the code to make connections between layers possible,
> > would you integrate the changes?
> 
> If it was clean and maintainable, yes. The problem is that it touches a
> lot of the core Dia functionallity. If breaks the separation between
> layers, which makes updating connections slower and makes separate
> updating of the active layer only impossible (stuff like
> data_update_extents() and layer_update_extents() would have to scan
> through all objects in all layers on each update).

What exactly do you mean by updating connections? When does that happen?

Why would data_update_extents() and layer_update_extents() have to scan
all the other layers when the objects in the other layers can't be
moved or selected (only connected to or disconnected from)?  I can see
how it would become very complicated if objects in different layers
could be copied & pasted, grouped & ungrouped, or edited together
in some other ways.  That's why I'm only suggesting to allow connections
be made or disconnected between layers.  Once that's down, then maybe
we could look at how complicated & slow it would make things to try to
manipulate objects in different layers together in other ways, but I 
really don't want to get into that right now.

> In short. I won't do it myself. But i would take patches for it, *after*
> the undo stuff is finished.

Okay.  btw, I'm ready to run Purify on Dia at any time.  Should I
wait to do that after you have the undo stuff finished?

> > Updating the DTD doesn't take much.  I see two different ways of doing
> > it:
> 
> I don't understand why you need to change the DTD at all. The object
> references are good enought to reference across layers as it is now.

Ah!  It wasn't entirely apparent that the set of object ID's were unique
to a diagram.  I figured an object can't exist in a diagram unless its
contained in a layer, then the ID's were unique to the layer.  This will
make things easier.

-Ben

-- 
Ben Hochstedler     http://www.mei.com  GE Marquette Medical Systems
[EMAIL PROTECTED]    Phone: 414-362-3317  Fax: 414-362-3389

Reply via email to