Yes, that is a possibility for the scatterplot layout, but it should
not replace the previous mechanism.
On 29 Apr 2009, at 19:35, Alexandre Bergel wrote:
Today with Simon, we thought about something. Why not to put it in
What about the following:
view nodes: elements.
view layout: (MOScatterplotLayout new
Where the elements variable is bound to the famix classes.
On 29 Apr 2009, at 16:33, Tudor Girba wrote:
>> I tried to understand the ScatterplotLayout in VW. Few questions
>> on the design raised to me:
>> - Why NodeFigure has variables xBlock and yBlock. I understand
>> what these variables are for. However, I expected to see them in
>> the shape, since the node is meant to represent the model, and
>> should therefore not be aware of where it is supposed to be
> In the beginning they were in shape, but the problem was that it
> does not really belong there, because shape only encapsulates the
> way a figure should be drawn, and not where. That is why we moved
> anything that has to do with the position to the figure, rather
> than in the shape.
> To access the x and y specifically, you have to say:
> view figure x: [...]; y: [...].
>> - What xOffset and yOffset are for? I could not really infer
>> their meaning from the various examples I found
> xOffset is not really used. It was supposed to be a sort of margin.
> If you look for senders of xOffset you will see that they are only
> used in the ScatterplotLayout.
>> Alexandre Bergel http://www.bergel.eu
>> Moose-dev mailing list
> "Next time you see your life passing by, say 'hi' and get to know
> Moose-dev mailing list
Alexandre Bergel http://www.bergel.eu
Moose-dev mailing list