Hi,
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 displayed.
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.
Cheers,
Doru
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Next time you see your life passing by, say 'hi' and get to know her."