Fix extra edges, and auto make svg files