This is fixed in Roassal1.456. There was indeed a bug in the code.
Now, there is the following:
- A node is rendered if its bounds intersect with the bounds of the camera
- An edge is rendered if at least one of its extremity has its bounds intersect with the
camera
As a consequence, an edge that has no extremity on screen is not displayed. Even if the
line "go through" the camera bounds. Naturally, this is something that is easy
to change. We can provide particular strategy to define what makes an edge visible or
not.
Cheers
Alexandre
On Oct 19, 2013, at 3:41 AM, moose-technology(a)googlecode.com wrote:
Comment #1 on issue 987 by tudor(a)tudorgirba.com: Roassal does not display edges when the
source is not visible
http://code.google.com/p/moose-technology/issues/detail?id=987
Hmm. This problem seems to appear only when Roassal is embedded in Glamour. Try this:
view := ROMondrianViewBuilder new.
view nodes: { 1 . 2 }.
view edgeFromAssociation: 2->1.
view horizontalLineLayout horizontalGap: 3000.
view open.
vs.
view := ROMondrianViewBuilder new.
view nodes: { 1 . 2 }.
view edgeFromAssociation: 2->1.
view horizontalLineLayout horizontalGap: 3000.
view openWithStatusbar.
--
You received this message because you were CC'd on the issue.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply to this email to add a comment or make updates.
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.