d3-curve-circlecorners Demo Page

Multiple Segments, Longer than the Curve Radius (0.5)

[ [2, 1], [2, 4], [0, 4], [2, 6], [4, 6], [6, 5] ]

Curve Radius Larger (3) than Some Segments

Some nodes become quite sharp, at the expense of others

[ [2, 1], [2, 4], [0, 4], [2, 6], [4, 6], [6, 5] ]

Two Segments

[ [-2, 1.15], [-3.15, 1.15], [-3.15, -1] ]

Overlapping Segments (BUG)

[ [-1, -1], [-1, 0], [-1, -5], ]