Can ConnectionRouters avoid obstacles at all levels? [message #219805] |
Fri, 21 July 2006 17:01 |
Dan Bourque Messages: 9 Registered: July 2009 |
Junior Member |
|
|
Hi all,
I thought it'd be easier to illustrate the problem I'm trying to solve by
posting a video showing my view in action.
http://www.babbleonchat.com/HelpGEF.html
A few points:
-This is a view, not an editor.
-Before I introduced the AP/MP groups (you'll see what I mean by that in
the video), the ShortestPathConnectionRouter was working perfectly,
avoiding all obstacles between its endpoints.
-After adding these groups, connections only avoid obstacles sitting at
the 2nd level, meaning one level above root. By levels, I'm talking about
parent-child hierarchy depth.
A few sub-questions:
-Because it's a view, I can't easily provide an outline page for it. Is
there a way to do this? (Showing a scaled-down representation in the
outline view and superimposing the viewport's current bounds, etc)
-How do I implement animated zooming?
Any help would be greatly appreciated, even if it's just pointing me to
related documentation.
Cheers,
-Dan.
|
|
|
Re: Can ConnectionRouters avoid obstacles at all levels? [message #219813 is a reply to message #219805] |
Fri, 21 July 2006 18:37 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
https://bugs.eclipse.org/bugs/show_bug.cgi?id=135086
"Dan Bourque" <Dan.Bourque@gmail.com> wrote in message
news:fe2552874bf70b025b56815503dba539$1@www.eclipse.org...
> Hi all,
>
> I thought it'd be easier to illustrate the problem I'm trying to solve by
> posting a video showing my view in action.
>
> http://www.babbleonchat.com/HelpGEF.html
>
> A few points:
> -This is a view, not an editor.
> -Before I introduced the AP/MP groups (you'll see what I mean by that in
> the video), the ShortestPathConnectionRouter was working perfectly,
> avoiding all obstacles between its endpoints.
> -After adding these groups, connections only avoid obstacles sitting at
> the 2nd level, meaning one level above root. By levels, I'm talking about
> parent-child hierarchy depth.
>
> A few sub-questions:
> -Because it's a view, I can't easily provide an outline page for it. Is
> there a way to do this? (Showing a scaled-down representation in the
> outline view and superimposing the viewport's current bounds, etc)
> -How do I implement animated zooming?
>
> Any help would be greatly appreciated, even if it's just pointing me to
> related documentation.
> Cheers,
> -Dan.
>
>
|
|
|
Re: Can ConnectionRouters avoid obstacles at all levels? [message #219821 is a reply to message #219805] |
Fri, 21 July 2006 20:36 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
The current router is a mapping from figures to obstacles, and then solving
a path and setting the connections points. You could write your own router
that performs a deeper collection of obstacles, and then does the same
thing. There are issues around performance and updating that make the ideal
solution challenging.
"Dan Bourque" <Dan.Bourque@gmail.com> wrote in message
news:fe2552874bf70b025b56815503dba539$1@www.eclipse.org...
> Hi all,
>
> I thought it'd be easier to illustrate the problem I'm trying to solve by
> posting a video showing my view in action.
>
> http://www.babbleonchat.com/HelpGEF.html
>
> A few points:
> -This is a view, not an editor.
> -Before I introduced the AP/MP groups (you'll see what I mean by that in
> the video), the ShortestPathConnectionRouter was working perfectly,
> avoiding all obstacles between its endpoints.
> -After adding these groups, connections only avoid obstacles sitting at
> the 2nd level, meaning one level above root. By levels, I'm talking about
> parent-child hierarchy depth.
>
> A few sub-questions:
> -Because it's a view, I can't easily provide an outline page for it. Is
> there a way to do this? (Showing a scaled-down representation in the
> outline view and superimposing the viewport's current bounds, etc)
> -How do I implement animated zooming?
>
> Any help would be greatly appreciated, even if it's just pointing me to
> related documentation.
> Cheers,
> -Dan.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03546 seconds