Community
Participate
Working Groups
Created attachment 266217 [details] EcoreProject After the creation of an edge with a tree layout: * the source vectors seems OK for first and last point. * the target vectors seems wrong for first and last point. Steps to reproduce: * Import the project EcoreProject (this project uses the VSM of org.eclipse.sirius.sample.ecore.design) * Open the diagram "root package entities" * Check the rulers & grid properties: * Ruler Units: Pixels * Grid Spacing: 25 * Snap To Grid: true * Snap To Shapes: true * Create a relation of kind SuperType between center of C2 and center of C1 * Save * Open the aird in text editor * The bendpoins of the edge must be something like points="[0, 0, 49, 75]$[-50, -52, -1, 23]" and not like points="[0, 0, 50, 52]$[-50, -52, 0, 0]" * You can also use the "Sirius Debugging View" to get the edge data (instead of looking in the aird text file). Ideally, the bendpoints should contain 4 points instead of two as this edge uses a tree layout. But this is not the main goal of this issue. This problem has been discovered during the analysis of bug 495659.
New Gerrit change created: https://git.eclipse.org/r/88387
Thank your for the detail bug report and provided draft patch set. Nevertheless it is not yet in the scope of a future release. Regards
The problem is always here. The gerrit has just been rebase (without new analysis). There are conflicts so maybe the rebase is not OK and it is strange because with the steps to reproduce, in debug the modified code is not used...