Bug 516885 - Refactor BendConnectionPolicy to use snapping and normalization for overlay removal
Summary: Refactor BendConnectionPolicy to use snapping and normalization for overlay r...
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF MVC (show other bugs)
Version: 1.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-18 09:08 EDT by Matthias Wienand CLA
Modified: 2017-05-18 09:08 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.