Multiple connections between two figures [message #182515] |
Wed, 25 May 2005 22:18 |
Eclipse User |
|
|
|
Originally posted by: eri_cao_apex.yahoo.com
Hi,
I want to create multiple connections between figures. It seems new
connections will overlap with old ones. I tried FanRouter that can handle
collision, but it doesn't spread connections. The code is as follows:
FanRouter router = new FanRouter();
router.setSeparation(10);
connection.setConnectionRouter(router);
I am not sure if it is the proper way to use it, or
handleCollision(PointList points, int index) has to be overrided. Is it
possible to handle mutliple connections between two figures by using
ManhattanConnectionRouter, etc.? Those connections will have different
styles or labels. Any suggestions are welcome.
Thanks,
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.02889 seconds