Thomas Petillon
87ca2b09cc
Keep the oldest interesting ID alive when merging nodes
2021-12-06 21:23:38 +01:00
Bryan Housel
ce77538185
Allow connecting FROM nodes to TO nodes if it's a u-turn
2018-04-16 08:00:44 -04:00
Bryan Housel
b2df343f2d
Allow connecting to nodes in the turn restriction from outside
2018-04-14 23:12:19 -04:00
Bryan Housel
87841fc403
Stricter checks to prevent turn restriction breakage when dragging
...
(re: #4921 )
2018-04-13 22:50:51 -04:00
Bryan Housel
8fb083578f
Prevent drag/connect which could damage relations
...
(closes #4921 )
2018-04-12 17:32:16 -04:00
Bryan Housel
b09c712fc5
When connecting nodes, prefer to keep an existing (not new) node
...
(closes #4974 , closes #4674 )
2018-04-09 14:20:40 -04:00
Bryan Housel
87950fd472
Fix lib export, flatten names in tests and docs
2016-10-04 21:56:09 -04:00
Kushan Joshi
4609282e04
Making spec/actions lint free
2016-06-14 16:34:52 +05:30
John Firebaugh
14bfc52e33
Remove repetition of entity IDs in tests
...
There were several places where the key and entity id
didn't match up.
2013-10-31 15:57:47 -07:00
John Firebaugh
c50c3121d8
Make Graph#entity strict
...
Use Graph#hasEntity for the previous behavior.
2013-04-24 09:27:37 -07:00
John Firebaugh
b1daf85cfd
Tooltips for disabled operations ( fixes #573 )
2013-03-29 12:29:07 -07:00
John Firebaugh
4fa88acc85
Fix connecting adjacent vertices
...
Can't unconditionally delete the node; it may be a member
of other ways.
I didn't preserve the behavior of dragging a midpoint to
an adjacent node being a no-op. In general we don't try to
eliminate compound operations whose net result is a no-op;
I don't think it's important to do so for this special case.
The degenerate case of connecting the endpoints of a two-vertex
line now results in a point. This is what naturally resulted
from the code, and seems ok.
Fixes #983 .
2013-03-12 16:26:40 -07:00
John Firebaugh
b62f106be8
Extract Relation#replaceMember
2013-02-06 13:42:34 -08:00
John Firebaugh
c9fb1444db
Connect via drag and drop
...
Fixes #598 .
2013-02-04 16:48:54 -08:00