Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Line Routing Problem using DirectedGraphLayout
Line Routing Problem using DirectedGraphLayout [message #181743] Thu, 19 May 2005 15:26 Go to next message
Eclipse UserFriend
Originally posted by: mitch.upton.bea.com

I've been toying around with a diagramming tool that is based of the
SchemaEditor GEF example. My app has roughly the same structure as the
schema editor example, 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.

Re: Line Routing Problem using DirectedGraphLayout [message #181821 is a reply to message #181743] Thu, 19 May 2005 15:43 Go to previous message
Eclipse UserFriend
Originally posted by: mitch.upton.bea.com

Trying the gif attachment from another news reader.


"Mitch Upton" <mitch.upton@bea.com> wrote in message
news:72a8bb7537c6f3bdc2b8cfc784ff9c4d$1@www.eclipse.org...
>
> I've been toying around with a diagramming tool that is based of the
> SchemaEditor GEF example. My app has roughly the same structure as the
> schema editor example, 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.
>
>


------------------------------------------------------------ --------------------


>
>
>
>


Previous Topic:BendConnectionRouter example request
Next Topic:no scrollbar in gef editor
Goto Forum:
  


Current Time: Fri Apr 19 01:55:20 GMT 2024

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

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

Back to the top