Community
Participate
Working Groups
Created attachment 268844 [details] sampleProject.zip for steps to reproduce In case of an edge with a Straight routing style and with only one segment, the GMF bendpoints are false if the edge is "reverted". For example, in the case of "1-beforeMovingEdge.png", the GMF bendpoints are correct (same as draw2d). But if the node C2 is moved on left of C1, the GMF bendpoints are wrong (see "2-afterMovingEdge.png"). These false bendpoints can be problematic for other calculations (like label location). Steps to reproduce: * Open the diagram "newDiag3" of the project "SampleProject" (from SampleProject.zip) * Open the "Sirius Debugging View" (from plugin org.eclipse.sirius.ui.debug) * Select the edge between C1 and C2 * In the "Sirius Debugging View", the GMF computed points are the same as Draw2D points. * Move C2 to the left of C1 * KO: In the "Sirius Debugging View", the GMF computed points are not the same as Draw2D points.
Created attachment 268845 [details] 1-beforeMovingEdge.png
Created attachment 268846 [details] 2-afterMovingEdge.png
New Gerrit change created: https://git.eclipse.org/r/99055
Gerrit change https://git.eclipse.org/r/99055 was merged to [v4.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=38788d1192b4e16af84a9adf2e73bfdfffb6d9b3
Validated with Sirius 4.1.6-S20170628-064814
Available in Sirius 4.1.6, see https://wiki.eclipse.org/Sirius/4.1.6 for details.