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

Bug 441424

Summary: Modify size of a shape without modifying edge(s) location
Product: [Modeling] Sirius Reporter: Florian Barbin <florian.barbin>
Component: DiagramAssignee: Florian Barbin <florian.barbin>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: laurent.redor, pierre-charles.david
Version: 1.0.0Keywords: triaged
Target Milestone: 2.0.0   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=466384
https://bugs.eclipse.org/bugs/show_bug.cgi?id=466422
Whiteboard:
Attachments:
Description Flags
Current behavior animation
none
Expected behavior with this enhancement none

Description Florian Barbin CLA 2014-08-08 08:59:31 EDT
Currently, when extending a node or a container, edges connected to it are shifted. This enhancement aims to hold the edges location during the shape extension.
Comment 1 Florian Barbin CLA 2014-08-08 10:38:18 EDT
This enhancement will guarantee that edges connected to a shape side (East, West, North or South), will keep their location if the user enlarge this shape toward an opposite direction. For example, edges connected on the East side will keep their location if the user enlarge the shape toward the North, West, South or North-West, South-West.
If the user reduces the shape size, we hold the edge location while they are still within the reduced bounds. That means if we reduce a container bounds from the south-west corner toward north-east direction, edges connected on the East side will move if their connections are out of the new shape bounds.
Comment 2 Florian Barbin CLA 2014-08-08 10:40:05 EDT
Created attachment 245838 [details]
Current behavior animation
Comment 3 Florian Barbin CLA 2014-08-08 10:40:35 EDT
Created attachment 245839 [details]
Expected behavior with this enhancement
Comment 4 Florian Barbin CLA 2014-08-08 11:08:00 EDT
the initial specification: https://git.eclipse.org/r/#/c/31278/
the current implementation state: https://git.eclipse.org/r/#/c/31284/
Comment 5 Florian Barbin CLA 2014-09-02 10:04:55 EDT
Gerrit patch sets:

https://git.eclipse.org/r/#/c/32655/1
https://git.eclipse.org/r/#/c/32656/
Comment 6 Florian Barbin CLA 2014-09-19 03:36:07 EDT
All gerrit reviews merged.
Comment 7 Pierre-Charles David CLA 2014-10-27 06:52:35 EDT
Available in Sirius 2.0.0.