Offsetting convex polygons for fancy cluster labels
I was playing with force graphs and clusterings and I wanted to give my clusters a nice convex hull background with rounded corners.
That is commonly achived with some CSS-Tricks using a thick stroke-width
and stroke-linejoin: round
. Here I will introduce
an alternative technique.