Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » ManhattanConnectionRouter - connection overlapping
ManhattanConnectionRouter - connection overlapping [message #220117] Tue, 25 July 2006 16:54
Shannon Wei is currently offline Shannon WeiFriend
Messages: 10
Registered: July 2009
Junior Member
Hi,
I'm using gef 3.0.1 ManhattanConnectionRouter. The method
ManhattanConnectionRouter.processPositions() is to prevent connection
overlapping. The vertical lines work pretty well. Horizontal lines still
overlap in some scenarios. Please see the attached diagram.

Anchor points A,E,a, c are fixed. Connection ABCDE and connection aCDbc
overlap at CD. I debugged through. When object X is moved, the connection
ABCDE gets rerouted. As Point A and E are fixed anchor points, B's y
dimension is fixed as well. Only B's x dimension is adjusted and it's only
considered that it does not overlap with other vertical lines which is Db
here. It does know horizontal lines overlaps at CD.

I'm wondering if this problem is fix in any gef version higher than 3.0.1.

Thanks.

Shannon


  • Attachment: routing.bmp
    (Size: 160.83KB, Downloaded 205 times)
Previous Topic:DND between two GEF viewers
Next Topic:Direct Edit Focus Issues
Goto Forum:
  


Current Time: Fri Jan 24 17:24:40 GMT 2025

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

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

Back to the top