Replace Graph#fetch with Graph#childNodes

Having two kinds of Ways (fetched and non-fetched)
introduced some accidental complexity. This brings things
more in line with how parentWays/parentRelations work.

Fixes #73.
This commit is contained in:
John Firebaugh
2013-01-25 15:08:09 -05:00
parent 74d006ea08
commit 5ea855e18d
19 changed files with 75 additions and 73 deletions
+1 -1
View File
@@ -90,7 +90,7 @@
filter = d3.functor(true),
a = iD.Node({loc: [15, 15]}),
b = iD.Node({loc: [185, 15]}),
way = iD.Way({nodes: [a, b]}),
way = iD.Way({nodes: [a.id, b.id]}),
vertices = iD.svg.Vertices(projection),
lines = iD.svg.Lines(projection),
midpoints = iD.svg.Midpoints(projection);