Issue 987 in moose-technology: Roassal does not display edges when the source is not visible

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 987 in moose-technology: Roassal does not display edges when the source is not visible

moose-technology
Status: New
Owner: ----
CC: [hidden email]
Labels: Type-Defect Priority-Critical Component-Roassal Milestone-4.9

New issue 987 by [hidden email]: 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 :)

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 987 in moose-technology: Roassal does not display edges when the source is not visible

moose-technology

Comment #1 on issue 987 by [hidden email]: 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 this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 987 in moose-technology: Roassal does not display edges when the source is not visible

moose-technology
Updates:
        Status: Fixed

Comment #2 on issue 987 by [hidden email]: 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.

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 987 in moose-technology: Roassal does not display edges when the source is not visible

abergel
In reply to this post by moose-technology
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, [hidden email] wrote:

>
> Comment #1 on issue 987 by [hidden email]: 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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 987 in moose-technology: Roassal does not display edges when the source is not visible

moose-technology
In reply to this post by moose-technology
Updates:
        Status: New

Comment #3 on issue 987 by [hidden email]: 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.

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 987 in moose-technology: Roassal does not display edges when the source is not visible

moose-technology
Updates:
        Status: Fixed
        Labels: -Milestone-4.9 Milestone-5.0

Comment #4 on issue 987 by [hidden email]: 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.

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev