Re: adding connection points to UML class diagrams?



I have no experience with designing vector drawing programs, but one
idea does jump to mind.

Can you name the points and also represent their location by the
polygon side and a double between 0 and 1?

-Tim

On Mon, 3 Jan 2005 14:41:13 +0100 (CET), Lars Clausen <lars raeder dk> wrote:
Tim Olsen sagde:
I would like to be able to add arbitrary connection points to the
class element.  is this possible?

Yes, but complex.  Problem is that connection points are identified by
integers, and the UML class already gets additional connection points on
the sides as attributes and operations are added.  This makes it harder to
make sure the save files recognize the correct connections.  It would
probably not be a bad idea to be able to name CP's instead, however we
still need to figure out where which points should be placed when the
object gets resized.

If this confuses you, I can draw you a diagram of it.

It would get even trickier if we wanted an arbitrary number of points on
the top or bottom, which I'm sure somebody would want.  But that would
require some interface to add points.

-Lars




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