Extending ManhattanConnectionRouter [message #215860] |
Thu, 11 May 2006 02:08 |
Eclipse User |
|
|
|
Originally posted by: bandrews.nospam.com
Hi All,
I would like to extend the ManhattenConnectionRouter to do something
special. In addition to it's current functionality, I would like for it
to automatically move the connector over in the direction of it's target
if the connector crosses another Figure. So, I am thinking maybe
something like a hybrid of ManhattenConnectionRouter and
ShortestPathConnectionRouter. So in this example:
A
B
C
A connection from source [A] to target [C] would never be able to cross
the helpless [B]. Make sense? Maybe someone has already done this and
would like to share how they did it?
many thanks,
B
|
|
|
Re: Extending ManhattanConnectionRouter [message #215968 is a reply to message #215860] |
Thu, 11 May 2006 15:36 |
Eclipse User |
|
|
|
Originally posted by: bandrews.nospam_bphnx.com
My mistake, ManhattanConnectionRouter is final. But still I would like
to have this sort of router.
Barry Andrews wrote:
> Hi All,
>
> I would like to extend the ManhattenConnectionRouter to do something
> special. In addition to it's current functionality, I would like for it
> to automatically move the connector over in the direction of it's target
> if the connector crosses another Figure. So, I am thinking maybe
> something like a hybrid of ManhattenConnectionRouter and
> ShortestPathConnectionRouter. So in this example:
>
> A
>
> B
>
>
>
>
> C
>
> A connection from source [A] to target [C] would never be able to cross
> the helpless [B]. Make sense? Maybe someone has already done this and
> would like to share how they did it?
>
> many thanks,
>
> B
|
|
|
Powered by
FUDForum. Page generated in 0.03138 seconds