Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Line Routing Problem
Line Routing Problem [message #181983] Fri, 20 May 2005 22:47 Go to next message
Eclipse UserFriend
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


Re: Line Routing Problem [message #182670 is a reply to message #181983] Thu, 26 May 2005 00:26 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
This has already been fixed in 3.1.

"Mitch Upton" <mitch.upton@bea.com> wrote in message
news:d6lpga$spa$1@news.eclipse.org...
> 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
>
>
>
Previous Topic:Connection pointing back to the same figure
Next Topic:EDiagram changes on 10-May-2005
Goto Forum:
  


Current Time: Wed Apr 24 23:29:58 GMT 2024

Powered by FUDForum. Page generated in 0.03035 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top