Doing some trigonometry to get the angles of the points and drawing lines from the svg edges could be a better approach
Doing some trigonometry to get the angles of the points and drawing lines from the svg edges could be a better approach