Status: New Owner: ---- CC: alexandr...@gmail.com Labels: Type-Defect Priority-Critical Component-Roassal Milestone-4.9
New issue 987 by tu...@tudorgirba.com: Roassal does not display edges when the source is not visible http://code.google.com/p/moose-technology/issues/detail?id=987
Try this:
view nodes: { 1 . 2 }. view edgeFromAssociation: 2->1. view horizontalLineLayout horizontalGap: 1000.
I think it is easy to fix, but at the same time it is really annoying, so I mark it as critical :)
Comment #1 on issue 987 by tu...@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.
Updates: Status: Fixed
Comment #2 on issue 987 by alexandr...@gmail.com: Roassal does not display edges when the source is not visible http://code.google.com/p/moose-technology/issues/detail?id=987
Fixed in 1.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.
Updates: Status: New
Comment #3 on issue 987 by tu...@tudorgirba.com: Roassal does not display edges when the source is not visible http://code.google.com/p/moose-technology/issues/detail?id=987
The edge should be rendered if it crosses the camera, even if the nodes are not in the camera. It is confusing otherwise.
I am reopening this issue.
Updates: Status: Fixed Labels: -Milestone-4.9 Milestone-5.0
Comment #4 on issue 987 by tu...@tudorgirba.com: Roassal does not display edges when the source is not visible http://code.google.com/p/moose-technology/issues/detail?id=987
It's fixed now.