Line Routing Problem [message #181983] |
Fri, 20 May 2005 22:47 |
Eclipse User |
|
|
|
Originally posted by: mitch.upton.bea.com
This time with the right image...
I've been writing diagramming tool that is based off the SchemaEditor GEF
example. My app has roughly the same structure as the schema editor example
(e.g. tables with embedded columns and connections between tables), but I
require connections to anchor to the edge of the 'table' figure at the
height of the 'column' figure. This required me to implement a new
AbstractConnectionAnchor subclass to provide the anchor point.
Now, my connections all seem to show up, and away from the source figure
they route nicely around other 'table' figures to the target 'table' figure.
However, at the source 'table' figure, the connection runs right through the
figure if the target figure is not completely to one side or the other. I've
attached a small screen capture of my diagram that shows the problem (as a
uuencoded gif file).
I've debugged this quite a bit, but can't see what the problem is. It looks
like the routing algorithm simply doesn't consider the source figure, but
does consider any figures further out. Note, I'm using GEF 3.0.1 and eclipse
platform 3.0.1.
Thanks in advance for any help on this.
Mitch
|
|
|
|
Powered by
FUDForum. Page generated in 0.03675 seconds