I should make the next diagram according to input data.
The main problem now is Polygon with double borders. I tried shadows and double polygons, it doesn't work well. Any idea?
I used next code to create points for Polygon
const p: number = includeChapter ? chapter.points : 1;
const x: number = cx + Math.round(Math.sin(i * angle) * R * p);
const y: number = cy - Math.round(Math.cos(i * angle) * R * p);
If I change radius and trying to create two different polygons i have next thing
