Re: object access to grid width



As far as I have seen objects have no "up" pointer to the diagram.
I'd like to know, whether there is a way for an object to get
to know the grid width and position such that it can align its
connection points accordingly. I'd like to improve UML-lifeline 
such that it automatically adjusts the nubmer of its connection
points on resising such that these are located on the grid.

There is an up pointer from objects to layers and one from layers to
diagramdata.
Thanks - it's new in 0.91. 
I am still on 0.90. Configuring and compiling 0.91 on my Suse 7.1
system looks like needing some more weekends due to all these package
dependencies of which half are lacking in the configure scripts.
I am not sure, whether the whole package really needs all this stuff.
Sorry to say that configuring dia 0.90 was a pleasure compared to 0.91.

If you implement this, what would happen if the grid size was changed?
I would suggest to adjust the connections only on size changes of the
lifeline. Otherwise a grid change would instantly ruin the whole diagram.
Good old ABC flow charter supported snap to line at any position, but I
don't dare to suggest implementing that for dia.

Currently it is very hard to manually adjust the count after resizing
the active part of a lifeline. 

Is there anyone out there that has an idea how to circumvent the fact 
that there are two CPLs per side and everything only works for active
length that are a multiple of two of the grid size? 

???  Is this still about lifeline, or something else?
Right.

Hans

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!




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