Bug 516885

Summary: Refactor BendConnectionPolicy to use snapping and normalization for overlay removal
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 1.1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2017-05-18 09:08:20 EDT
Currently, BendConnectionPolicy incorporates removal of overlays, i.e. when manipulating a point by moving it towards one of its neighbors, it will be removed if their distance falls below some threshold (likewise for moved segments).

This functionality could be realized via ISnapToStrategy implementations that use the vertices of the manipulated Connection as target snapping locations. Normalization of the snapped vertices should then yield the same results as the overlay removal does now.

Additionally, implementing the functionality via snapping will also mature the snapping API.