d3 / d3-shape

Graphical primitives for visualization, such as lines and areas.
https://d3js.org/d3-shape
ISC License
2.48k stars 310 forks source link

d3.link(curve) instead of link.curve(curve) #190

Closed mbostock closed 2 years ago

mbostock commented 2 years ago

Feels weird to say d3.linkHorizontal().curve(whatever), so instead, d3.link(whatever).

mbostock commented 2 years ago

Going to merge this into your branch so I can rebase against main and add tests. Let me know if you object. 😄