Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312208

Summary: Straight routing not possible
Product: [Modeling] Ecoretools Reporter: Hauke Fuhrmann <haf>
Component: GeneralAssignee: Project Inbox <ecore-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cedric.brun
Version: unspecified   
Target Milestone: M6   
Hardware: All   
OS: All   
Whiteboard:

Description Hauke Fuhrmann CLA 2010-05-10 03:26:26 EDT
Build Identifier: 20100218-1602

When EOpposite References are drawn horizontally, they cannot be drawn as a straight line. The diagram editor mechanism that draws them on top of each other will always keep a central bendpoint that makes it a triangle route.

The connection has oblique routing style and smoothness "none".
I guess the special "draw on top" functionality of the Ecore diagram editor conflicts with GMF's FanRouter that adds a bend to one connection if two overlap.

See small video at:
http://rtsys.informatik.uni-kiel.de/~kieler/videos/bugs/strange_router.mp4

Reproducible: Always

Steps to Reproduce:
1. Create two classes next to each other
2. Draw two relations between those classes horizontally (one in each direction)
3. Make those relations EOpposites
4. The Editor will draw the references on top of each other
5. Try to move the central bendpoint
Comment 1 Cedric Brun CLA 2014-03-11 08:53:57 EDT
It's been fixed with EcoreTools 2.0.

Thanks for your feedback.