Bug 310857 - [Layout] Rectilinear routing doesn't work well with default anchors + source/target resize
Summary: [Layout] Rectilinear routing doesn't work well with default anchors + source/...
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.2   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: 2.3   Edit
Assignee: Alex Boyko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-28 13:23 EDT by Alex Boyko CLA
Modified: 2010-07-19 12:28 EDT (History)
2 users (show)

See Also:


Attachments
proposed patch (3.72 KB, patch)
2010-04-28 13:23 EDT, Alex Boyko CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Boyko CLA 2010-04-28 13:23:46 EDT
Created attachment 166348 [details]
proposed patch

1. Create 2 rectangles aligned horizontally
2. Create two straight rectilinear connections between them. Ensure that you start the creation of both connectors from the center of the source and finish at the cemter of the target. Hence connectorsd should overlap at the beginning
3. Position these straight rectilinear connectors such that they don't overlap
4. Make source source/target taller

Problem: note that connectors overlap now

Exptected: connectors shouldn't overlap.


Problem is in the code handling legacy connection routing. It should be simpler in general case as in the attached patch.
Comment 1 Alex Boyko CLA 2010-04-28 17:31:19 EDT
Delivered the fix for 2.3 M7
Comment 2 Eclipse Webmaster CLA 2010-07-16 23:38:08 EDT
[target cleanup] 2.3 M7 was the original target milestone for this
bug
Comment 3 Eclipse Webmaster CLA 2010-07-19 12:28:14 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug