d3/d3-shape

Selected Rounding of Corners in Arc

dtrinh100 opened this issue · 3 comments

Hi, I would love to see the ability to round only specific corners in an arc. Right now, I know we have the ability to round all corners using cornerRadius, but most of the time I find myself only wanting to round 2 corners, rather than all of them.

Mind sharing a visual example of what you want?

Sure, so something like this:

rounded arcs(1)

The way that I am doing something like this in D3 right now is using the arc generator to generate 2 non overlapping arc, then adding a rounded corner to said arcs, but this creates an issue where the arcs that meet each other is also rounded, which is not exactly what I want.