Multiple connections [message #86548] |
Fri, 04 July 2003 13:20  |
Eclipse User |
|
|
|
Originally posted by: akatti.yahoo.com
Hi,
I need to create multiple connections between the same source and the same
target something like this:
__________ __________
| |__________________| |
| |__________________| |
| |__________________| |
|__________| |__________|
The Fan router does not work for this requirement. Is there any other
router that I can use?
AK
|
|
|
|
Re: Multiple connections [message #87492 is a reply to message #86887] |
Tue, 15 July 2003 19:01  |
Eclipse User |
|
|
|
Eric Bordeau wrote:
> There's no router in GEF that will do this. It looks to me like a new
> type of anchor would be better suited for this problem, instead of
> writing a new router. In my opinion, an anchor's job is to place the
> connections endpoint, while the router's job is to draw the part of the
> connection between the source and target anchors. Since what you're
> concerned with is the placement of the endpoints, I think an anchor
> would be the way to go.
If you want a very simple example of an anchor which does this, you can
look at the RelativeConnectionAnchor which is included in my July 2,
2003 post ("Contribution: RectilinearHandleRouter and supporting
classes") on this newsgroup...
Hope this helps,
Peter Armstrong
|
|
|
Powered by
FUDForum. Page generated in 0.04379 seconds